Function i64ToBytes

  • Converts a i64 BigInt in a Uint8Array.

    Parameters

    • val: bigint

      The BigInt to convert

    Returns Uint8Array

    A Uint8Array containing the serialized i64 BigInt value

    Throws

    Will throw an error if the input value is not within the valid i64 range (-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807)

Generated using TypeDoc