UNPKG

@ton3/liteclient

Version:
18 lines (17 loc) 564 B
export declare class StreamWriter { private _buffer; private concat; private append; private view; writeBytes(value: Uint8Array): this; writeBuffer(value: Uint8Array): this; writeBool(value: boolean): this; writeUint8(value: number): this; writeInt32LE(value: number): this; writeUint32LE(value: number): this; writeInt64LE(value: bigint): this; writeUint64LE(value: bigint): this; writeInt128(value: string | Uint8Array): this; writeInt256(value: string | Uint8Array): this; get buffer(): Uint8Array; }