Function encodeUint64

  • encodeUint64 converts an integer to its binary representation.

    Returns

    An 8-byte typed array containing the big-endian encoding of the input integer.

    Parameters

    • num: number | bigint

      The number to convert. This must be an unsigned integer less than 2^64.

    Returns Uint8Array

Generated using TypeDoc