Type alias ReadPosition

ReadPosition: {
    bin: Uint8Array;
    index: number;
}

A reference to a particular position within a referenced Uint8Array. ReadPositions are the only input of Libauth's read functions, and each read function returns a new ReadPosition after a successful result.

Type declaration

  • bin: Uint8Array

    The Uint8Array from which bytes are being read.

  • index: number

    The index at which the next byte should be read.

Generated using TypeDoc