ton3-core
Version:
TON low-level API tools
14 lines (13 loc) • 371 B
TypeScript
import type { Bit } from '../types/bit';
declare const bitsToBigUint: (bits: Bit[]) => {
value: bigint;
isSafe: boolean;
};
declare const bitsToBigInt: (bits: Bit[]) => {
value: bigint;
isSafe: boolean;
};
declare const bitsToIntUint: (bits: Bit[], options: {
type: 'int' | 'uint';
}) => number;
export { bitsToIntUint, bitsToBigUint, bitsToBigInt };