13 lines
506 B
TypeScript
13 lines
506 B
TypeScript
|
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;
|
||
|
}
|