bytes: {
    concat: ((...args) => Uint8Array);
    decode: ((value) => string);
    encode: ((value) => Uint8Array);
    equals: ((lhs, rhs) => boolean);
    zpad: ((arr, length) => Uint8Array);
}

Type declaration

  • concat: ((...args) => Uint8Array)
      • (...args): Uint8Array
      • Parameters

        • Rest ...args: Uint8Array[]

        Returns Uint8Array

  • decode: ((value) => string)
      • (value): string
      • Parameters

        • value: Uint8Array

        Returns string

  • encode: ((value) => Uint8Array)
      • (value): Uint8Array
      • Parameters

        • value: string | bigint

        Returns Uint8Array

  • equals: ((lhs, rhs) => boolean)
      • (lhs, rhs): boolean
      • Parameters

        • lhs: Uint8Array
        • rhs: Uint8Array

        Returns boolean

  • zpad: ((arr, length) => Uint8Array)
      • (arr, length): Uint8Array
      • Parameters

        • arr: Uint8Array
        • length: number

        Returns Uint8Array

Generated using TypeDoc