UNPKG

@jsonjoy.com/json-pack

Version:

High-performance JSON serialization library

10 lines (9 loc) 463 B
import { JsonDecoder } from './JsonDecoder'; import type { PackValue } from '../types'; export declare const fromBase64Bin: (view: DataView, offset: number, length: number) => Uint8Array; export declare class JsonDecoderDag extends JsonDecoder { readObj(): PackValue | Record<string, PackValue> | Uint8Array | unknown; protected tryReadBytes(): Uint8Array | undefined; protected tryReadCid(): undefined | unknown; readCid(cid: string): unknown; }