Properties
Private
_buffer
_buffer: Buffer
Private
_length
_length: number
Accessors
length
- get length(): number
Returns number
Methods
buffer
- buffer(): Buffer
Returns Buffer
result buffer
writeAddress
- writeAddress(address): void
Returns void
writeBit
- writeBit(value): void
Returns void
writeBits
- writeBits(src): void
Returns void
writeBuffer
- writeBuffer(src): void
Returns void
writeCoins
- writeCoins(amount): void
Returns void
writeInt
- writeInt(value, bits): void
Parameters
- value: number | bigint
- bits: number
Returns void
writeUint
- writeUint(value, bits): void
Parameters
- value: number | bigint
- bits: number
Returns void
writeVarInt
- writeVarInt(value, bits): void
Parameters
- value: number | bigint
- bits: number
Returns void
writeVarUint
- writeVarUint(value, bits): void
Parameters
- value: number | bigint
- bits: number
Returns void
Class for building bit strings