UNPKG

@jsonjoy.com/json-pack

Version:

High-performance JSON serialization library

9 lines (8 loc) 319 B
import { Reader } from '@jsonjoy.com/util/lib/buffers/Reader'; import type { BinaryJsonDecoder, PackValue } from '../types'; export declare class UbjsonDecoder implements BinaryJsonDecoder { reader: Reader; read(uint8: Uint8Array): PackValue; decode(uint8: Uint8Array): unknown; readAny(): PackValue; }