12 lines
314 B
TypeScript
Executable file
12 lines
314 B
TypeScript
Executable file
/// <reference types="node" />
|
|
declare class ReceiveBuffer {
|
|
private buffer;
|
|
private offset;
|
|
private originalSize;
|
|
constructor(size?: number);
|
|
get length(): number;
|
|
append(data: Buffer): number;
|
|
peek(length: number): Buffer;
|
|
get(length: number): Buffer;
|
|
}
|
|
export { ReceiveBuffer };
|