Skip to content

BintInstance

ts
interface BintInstance {
    (value: number): BintInstance;
    readonly [index: number]: number | bigint;
    toBuffer(): ArrayBuffer;
}

--- Note This type is a internal type only.

A Instance of Bint.

What each type here means:

  • (value: number): BintInstance: Call the instance to push a number to the array
  • readonly [index: number]: number | bigint: Access a value in the instance.
  • toBuffer(): ArrayBuffer: Convert the array into a array buffer.