UNPKG

@ton-community/tlb-runtime

Version:

TL‑B Runtime is a library for parsing and (de)serializing data according to TL‑B schemas

6 lines (5 loc) 311 B
import { Cell } from '@ton/core'; import { ParsedCell } from './TLBRuntime'; export declare function parseCell(schema: string, data: Cell | string): ParsedCell; export declare function encodeCell(schema: string, data: ParsedCell | string): Cell; export declare function replacer(_key: string, value: any): any;