node-ejs-renderer/node_modules/@jsonjoy.com/json-pack/lib/ubjson/UbjsonDecoder.d.ts

9 lines
319 B
TypeScript
Raw Permalink Normal View History

2024-06-09 13:55:01 -04:00
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;
}