Function bytesToU128

  • Converts a Uint8Array into an unsigned 128-bit integer (u128) BigInt.

    Returns

    The deserialized u128BigInt value

    Parameters

    • arr: Uint8Array

      The array to convert

    • Optional offset: number

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

    Returns bigint

Generated using TypeDoc