Function bytesToU64

  • Converts a Uint8Array into an unsigned 64-bit integer (u64) BigInt.

    Parameters

    • arr: Uint8Array

      The array to convert

    • Optional offset: number

      The optional offset in the Uint8Array at which to start reading the u64 value (default: 0)

    Returns bigint

    The deserialized u64 BigInt value

Generated using TypeDoc