- Preparing search index...
- The search index is not available
ton
Constructors
constructor
- new Builder(): Builder
-
Properties
Private
_bits
_bits: any
Private
_refs
_refs: any
Accessors
availableBits
- get availableBits(): number
-
Returns number
availableRefs
- get availableRefs(): number
-
Returns number
bits
- get bits(): number
-
Returns number
refs
- get refs(): number
-
Returns number
Methods
asCell
- asCell(): Cell
-
asSlice
- asSlice(): Slice
-
endCell
- endCell(): Cell
-
store
- store(writer: ((builder: Builder) => void) | Writable): Builder
-
storeBit
- storeBit(value: number | boolean): Builder
-
storeBits
- storeBits(src: BitString): Builder
-
storeBuffer
- storeBuffer(src: Buffer): Builder
-
storeBuilder
- storeBuilder(src: Builder): Builder
-
storeCoins
- storeCoins(amount: number | bigint): Builder
-
storeDict
- storeDict<K, V>(dict?: Maybe<Dictionary<K, V>>): Builder
-
storeDictDirect
- storeDictDirect<K, V>(dict: Dictionary<K, V>): Builder
-
storeInt
- storeInt(value: number | bigint, bits: number): Builder
-
Parameters
-
value: number | bigint
-
bits: number
storeMaybeBuilder
- storeMaybeBuilder(src?: Maybe<Builder>): Builder
-
storeMaybeCoins
- storeMaybeCoins(amount: Maybe<number | bigint>): Builder
-
Parameters
-
amount: Maybe<number | bigint>
storeMaybeInt
- storeMaybeInt(value: Maybe<number | bigint>, bits: number): Builder
-
Parameters
-
value: Maybe<number | bigint>
-
bits: number
storeMaybeRef
- storeMaybeRef(cell?: Maybe<Cell | Builder>): Builder
-
storeMaybeSlice
- storeMaybeSlice(src?: Maybe<Slice>): Builder
-
Parameters
-
Optional
src: Maybe<Slice>
storeMaybeStringRefTail
- storeMaybeStringRefTail(src?: Maybe<null | string>): Builder
-
Parameters
-
Optional
src: Maybe<null | string>
storeMaybeStringTail
- storeMaybeStringTail(src?: Maybe<string>): Builder
-
Parameters
-
Optional
src: Maybe<string>
storeMaybeUint
- storeMaybeUint(value: Maybe<number | bigint>, bits: number): Builder
-
Parameters
-
value: Maybe<number | bigint>
-
bits: number
storeMaybeVarInt
- storeMaybeVarInt(value: Maybe<number | bigint>, bits: number): Builder
-
Parameters
-
value: Maybe<number | bigint>
-
bits: number
storeMaybeVarUint
- storeMaybeVarUint(value: Maybe<number | bigint>, bits: number): Builder
-
Parameters
-
value: Maybe<number | bigint>
-
bits: number
storeMaybeWritable
- storeMaybeWritable(writer?: Maybe<Writable | ((builder: Builder) => void)>): Builder
-
storeRef
- storeRef(cell: Cell | Builder): Builder
-
storeSlice
- storeSlice(src: Slice): Builder
-
storeStringRefTail
- storeStringRefTail(src: string): Builder
-
storeStringTail
- storeStringTail(src: string): Builder
-
storeUint
- storeUint(value: number | bigint, bits: number): Builder
-
Parameters
-
value: number | bigint
-
bits: number
storeVarInt
- storeVarInt(value: number | bigint, bits: number): Builder
-
Parameters
-
value: number | bigint
-
bits: number
storeVarUint
- storeVarUint(value: number | bigint, bits: number): Builder
-
Parameters
-
value: number | bigint
-
bits: number
storeWritable
- storeWritable(writer: Writable | ((builder: Builder) => void)): Builder
-
Builder for Cells