Interface ReadPosition

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.

Hierarchy

  • ReadPosition

Properties

Properties

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