Constructors
Methods
getOffset
- getOffset(): number
Returns number
readBoolean
- readBoolean(): boolean
Returns boolean
readBytes
- readBytes(length, zeroStop?): Uint8Array
Parameters
- length: number
- zeroStop: boolean = false
Returns Uint8Array
readBytesArray
- readBytesArray(): Uint8Array[]
Returns Uint8Array[]
readBytesWithLength
- readBytesWithLength(maxLength?): Uint8Array
Returns Uint8Array
readSelector
- readSelector(): number
Returns number
readString
- readString(length): string
Returns string
readStringArray
- readStringArray(): string[]
Returns string[]
readStringWithLength
- readStringWithLength(): string
Returns string
readTuple
- readTuple(): bigint[]
Returns bigint[]
readU16
- readU16(): number
Returns number
readU16Array
- readU16Array(): number[]
Returns number[]
readU256
- readU256(): bigint
Returns bigint
readU256Array
- readU256Array(): bigint[]
Returns bigint[]
readU32
- readU32(le?): number
Returns number
readU32Array
- readU32Array(): number[]
Returns number[]
readU64
- readU64(): bigint
Returns bigint
readU64Array
- readU64Array(): bigint[]
Returns bigint[]
readU8
- readU8(): number
Returns number
readU8Array
- readU8Array(): number[]
Returns number[]
setBuffer
- setBuffer(bytes): void
Returns void
setOffset
- setOffset(offset): void
Returns void
verifyEnd
- verifyEnd(size): void
Returns void
Static
bigintCompare
- bigintCompare(a, b): number
Returns number
Static
numberCompare
- numberCompare(a, b): number
Returns number
Static
stringCompare
- stringCompare(a, b): number
Returns number