node-ejs-renderer/node_modules/@jsonjoy.com/json-pack/lib/resp/RespStreamingDecoder.d.ts

13 lines
506 B
TypeScript
Raw Normal View History

2024-06-09 13:55:01 -04:00
import { StreamingReader } from '@jsonjoy.com/util/lib/buffers/StreamingReader';
import { RespDecoder } from './RespDecoder';
export declare class RespStreamingDecoder {
protected readonly reader: StreamingReader;
protected readonly decoder: RespDecoder<StreamingReader>;
get tryUtf8(): boolean;
set tryUtf8(value: boolean);
push(uint8: Uint8Array): void;
read(): unknown | undefined;
readCmd(): [cmd: string, ...args: Uint8Array[]] | undefined;
skip(): null | undefined;
}