Decode a little-endian Uint8Array of any length into a BigInt.
The bytes parameter can be set to constrain the expected length (default: bin.length). This method throws if bin.length is not equal to bytes.
bytes
bin.length
For the reverse, see bigIntToBinUintLE.
the Uint8Array to decode
the number of bytes to read (default: bin.length)
Generated using TypeDoc
Decode a little-endian Uint8Array of any length into a BigInt.
The
bytes
parameter can be set to constrain the expected length (default:bin.length
). This method throws ifbin.length
is not equal tobytes
.For the reverse, see bigIntToBinUintLE.