Function bytesToU256

  • Converts a Uint8Array into an unsigned 256-bit integer (u256) BigInt.

    Parameters

    • arr: Uint8Array

      The array to convert

    • Optional offset: number

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

    Returns bigint

    The deserialized u256BigInt value

Generated using TypeDoc