UbjsonDecoder.d.ts 319 B

12345678
  1. import { Reader } from '@jsonjoy.com/util/lib/buffers/Reader';
  2. import type { BinaryJsonDecoder, PackValue } from '../types';
  3. export declare class UbjsonDecoder implements BinaryJsonDecoder {
  4. reader: Reader;
  5. read(uint8: Uint8Array): PackValue;
  6. decode(uint8: Uint8Array): unknown;
  7. readAny(): PackValue;
  8. }