You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
314 B
TypeScript

/// <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 };