UNPKG

@ton-community/tlb-runtime

Version:

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

7 lines (6 loc) 338 B
import { BitString, Cell } from '@ton/core'; import { Result } from './Result'; export declare function stringToBits(text: string): BitString; export declare function bitsToString(bits: BitString): string; export declare function normalizeBitString(bits: BitString): BitString; export declare function toCell(data: string): Result<Cell>;