UNPKG

@ton/core

Version:

Core TypeScript library that implements low level primitives for TON blockchain.

37 lines (36 loc) 1.13 kB
/** * Copyright (c) Whales Corp. * All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /// <reference types="node" /> import { TupleItem } from "./tuple"; export declare class TupleReader { private readonly items; constructor(items: TupleItem[]); get remaining(): number; peek(): TupleItem; pop(): TupleItem; skip(num?: number): this; readBigNumber(): bigint; readBigNumberOpt(): bigint | null; readNumber(): number; readNumberOpt(): number | null; readBoolean(): boolean; readBooleanOpt(): boolean | null; readAddress(): import("..").Address; readAddressOpt(): import("..").Address | null; readCell(): import("..").Cell; readCellOpt(): import("..").Cell | null; readTuple(): TupleReader; readTupleOpt(): TupleReader | null; private static readLispList; readLispListDirect(): TupleItem[]; readLispList(): TupleItem[]; readBuffer(): Buffer; readBufferOpt(): Buffer | null; readString(): string; readStringOpt(): string | null; }