Decode a little-endian Uint8Array of any length into a number. For numbers
larger than Number.MAX_SAFE_INTEGER (9007199254740991), use
binToBigIntUintLE.
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.
Decode a little-endian Uint8Array of any length into a number. For numbers larger than
Number.MAX_SAFE_INTEGER
(9007199254740991
), usebinToBigIntUintLE
.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 numberToBinUintLE.