Constructors
Methods
allocSafe
- allocSafe(size): void
Returns void
clear
- clear(): void
Returns void
getBuffer
- getBuffer(clear?): Uint8Array
Returns Uint8Array
getOffset
- getOffset(): number
Returns number
reset
- reset(): void
Returns void
setOffset
- setOffset(offset): void
Returns void
writeABISelector
- writeABISelector(name, selector): void
Parameters
- name: string
- selector: number
Returns void
writeAddress
- writeAddress(value): void
Returns void
writeAddressArray
- writeAddressArray(value): void
Returns void
writeAddressValueTupleMap
- writeAddressValueTupleMap(map): void
Returns void
writeBoolean
- writeBoolean(value): void
Returns void
writeBytes
- writeBytes(value): void
Parameters
- value: Uint8Array | Buffer
Returns void
writeBytesArray
- writeBytesArray(value): void
Returns void
writeBytesWithLength
- writeBytesWithLength(value): void
Returns void
writeLimitedAddressBytesMap
- writeLimitedAddressBytesMap(map): void
Returns void
writeSelector
- writeSelector(value): void
Returns void
writeSelectorArray
- writeSelectorArray(value): void
Returns void
writeString
- writeString(value): void
Returns void
writeStringArray
- writeStringArray(value): void
Returns void
writeStringWithLength
- writeStringWithLength(value): void
Returns void
writeTuple
- writeTuple(values): void
Returns void
writeU16
- writeU16(value): void
Returns void
writeU16Array
- writeU16Array(value): void
Returns void
writeU256
- writeU256(bigIntValue): void
Returns void
writeU256Array
- writeU256Array(value): void
Returns void
writeU32
- writeU32(value, le?): void
Parameters
- value: number
- le: boolean = true
Returns void
writeU32Array
- writeU32Array(value): void
Returns void
writeU64
- writeU64(value): void
Returns void
writeU64Array
- writeU64Array(value): void
Returns void
writeU8
- writeU8(value): void
Returns void
writeU8Array
- writeU8Array(value): void
Returns void