File size: 506 Bytes
7c5b7bd
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
}