Convert a Uint8Array to a bigint.
Uint8Array
bigint
To convert a Uint8Array to a number instead, use bytesToNumber. To convert a two's complement encoded Uint8Array to a bigint, use bytesToSignedBigInt.
number
The bigint.
The bytes to convert to a bigint.
Convert a
Uint8Arrayto abigint.To convert a
Uint8Arrayto anumberinstead, use bytesToNumber. To convert a two's complement encodedUint8Arrayto abigint, use bytesToSignedBigInt.Returns
The
bigint.