Function bigIntToBinUint64LE

  • 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).

    For an alternative overflow behavior, see bigIntToBinUint64LEClamped.

    For the reverse, see binToBigIntUint64LE.


    • value: bigint

      the number to encode

    Returns Uint8Array

Generated using TypeDoc