Function bytesToI128

  • Converts a Uint8Array into a signed 128-bit integer (i128) BigInt.

    Parameters

    • arr: Uint8Array

      The array to convert

    • Optional offset: number

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

    Returns bigint

    The deserialized i128 BigInt value

Generated using TypeDoc