summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@grpc/grpc-js/build/src/stream-decoder.d.ts
blob: 28fef5491c44fc18b76060552eac3da2bd4dd32f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/// <reference types="node" />
export declare class StreamDecoder {
    private maxReadMessageLength;
    private readState;
    private readCompressFlag;
    private readPartialSize;
    private readSizeRemaining;
    private readMessageSize;
    private readPartialMessage;
    private readMessageRemaining;
    constructor(maxReadMessageLength: number);
    write(data: Buffer): Buffer[];
}