- Preparing search index...
- The search index is not available
Stacks.js
Constructors
constructor
- new BytesReader(arr: Uint8Array): BytesReader
-
Properties
consumed
consumed: number = 0
source
source: Uint8Array
Accessors
internalBytes
- get internalBytes(): Uint8Array
-
Returns Uint8Array
readOffset
- get readOffset(): number
-
Returns number
- set readOffset(val: number): void
-
Returns void
Methods
readBigUIntBE
- readBigUIntBE(length: number): bigint
-
Returns bigint
readBigUIntLE
- readBigUIntLE(length: number): bigint
-
Returns bigint
readBytes
- readBytes(length: number): Uint8Array
-
Returns Uint8Array
readUInt16BE
- readUInt16BE(): number
-
Returns number
readUInt32BE
- readUInt32BE(): number
-
Returns number
readUInt8
- readUInt8(): number
-
Returns number
readUInt8Enum
- readUInt8Enum<T, TEnumValue>(enumVariable: { [ key in string]: TEnumValue }, invalidEnumErrorFormatter: ((val: number) => Error)): TEnumValue
-
Type Parameters
-
T extends string
-
TEnumValue extends number
Parameters
-
enumVariable: { [ key in string]: TEnumValue }
-
invalidEnumErrorFormatter: ((val: number) => Error)
-
- (val: number): Error
-
Returns Error
Returns TEnumValue