node-ejs-renderer/node_modules/@jsonjoy.com/json-pack/lib/msgpack/util.d.ts

12 lines
823 B
TypeScript
Raw Normal View History

2024-06-09 13:55:01 -04:00
import { MsgPackEncoderFast } from './MsgPackEncoderFast';
import { MsgPackEncoder } from './MsgPackEncoder';
import { MsgPackDecoderFast } from './MsgPackDecoderFast';
import { MsgPack } from './types';
export declare const encoder: MsgPackEncoderFast<import("@jsonjoy.com/util/lib/buffers").IWriter & import("@jsonjoy.com/util/lib/buffers").IWriterGrowable>;
export declare const encoderFull: MsgPackEncoder<import("@jsonjoy.com/util/lib/buffers").IWriter & import("@jsonjoy.com/util/lib/buffers").IWriterGrowable>;
export declare const decoder: MsgPackDecoderFast<import("@jsonjoy.com/util/lib/buffers/Reader").Reader>;
export declare const encode: <T>(data: T) => MsgPack<T>;
export declare const encodeFull: <T>(data: T) => MsgPack<T>;
export declare const decode: <T>(blob: MsgPack<T>) => T;
export type { MsgPack };