node-ejs-renderer/node_modules/@jsonjoy.com/json-pack/lib/codecs/cbor.d.ts

13 lines
506 B
TypeScript
Raw Permalink Normal View History

2024-06-09 13:55:01 -04:00
import { CborDecoder } from '../cbor/CborDecoder';
import { CborEncoder } from '../cbor/CborEncoder';
import { EncodingFormat } from '../constants';
import type { Writer } from '@jsonjoy.com/util/lib/buffers/Writer';
import type { JsonValueCodec } from './types';
export declare class CborJsonValueCodec implements JsonValueCodec {
readonly id = "cbor";
readonly format = EncodingFormat.Cbor;
readonly encoder: CborEncoder;
readonly decoder: CborDecoder;
constructor(writer: Writer);
}