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

10 lines
446 B
TypeScript
Raw Permalink Normal View History

2024-06-09 13:55:01 -04:00
import { CborEncoderFast } from './CborEncoderFast';
import type { IWriter, IWriterGrowable } from '@jsonjoy.com/util/lib/buffers';
export declare class CborEncoder<W extends IWriter & IWriterGrowable = IWriter & IWriterGrowable> extends CborEncoderFast<W> {
writeUnknown(value: unknown): void;
writeAny(value: unknown): void;
writeFloat(float: number): void;
writeMap(map: Map<unknown, unknown>): void;
writeUndef(): void;
}