Encode a positive BigInt as an 8-byte Uint64LE Uint8Array.
This method will return an incorrect result for values outside of the range 0 to 0xffff_ffff_ffff_ffff (18446744073709551615).
0
0xffff_ffff_ffff_ffff
18446744073709551615
For an alternative overflow behavior, see bigIntToBinUint64LEClamped.
For the reverse, see binToBigIntUint64LE.
the number to encode
Generated using TypeDoc
Encode a positive BigInt as an 8-byte Uint64LE Uint8Array.
This method will return an incorrect result for values outside of the range
0
to0xffff_ffff_ffff_ffff
(18446744073709551615
).For an alternative overflow behavior, see bigIntToBinUint64LEClamped.
For the reverse, see binToBigIntUint64LE.