- Preparing search index...
- The search index is not available
ton
Constructors
constructor
- new BitBuilder(size?: number): BitBuilder
-
Properties
Private
_buffer
_buffer: any
Private
_length
_length: any
Accessors
length
- get length(): number
-
Returns number
Methods
buffer
- buffer(): Buffer
-
Returns Buffer
build
- build(): BitString
-
writeAddress
- writeAddress(address: Maybe<Address | ExternalAddress>): void
-
Returns void
writeBit
- writeBit(value: number | boolean): void
-
Returns void
writeBits
- writeBits(src: BitString): void
-
Returns void
writeBuffer
- writeBuffer(src: Buffer): void
-
Returns void
writeCoins
- writeCoins(amount: number | bigint): void
-
Returns void
writeInt
- writeInt(value: number | bigint, bits: number): void
-
Parameters
-
value: number | bigint
-
bits: number
Returns void
writeUint
- writeUint(value: number | bigint, bits: number): void
-
Parameters
-
value: number | bigint
-
bits: number
Returns void
writeVarInt
- writeVarInt(value: number | bigint, bits: number): void
-
Parameters
-
value: number | bigint
-
bits: number
Returns void
writeVarUint
- writeVarUint(value: number | bigint, bits: number): void
-
Parameters
-
value: number | bigint
-
bits: number
Returns void
Class for building bit strings