1/// <reference types="node" /> 2declare class ReceiveBuffer { 3 private _buffer; 4 private _offset; 5 private _originalSize; 6 constructor(size?: number); 7 get length(): number; 8 append(data: Buffer): number; 9 peek(length: number): Buffer; 10 get(length: number): Buffer; 11} 12export { ReceiveBuffer }; 13