limepot-xyz/mybulma/node_modules/socks/typings/common/receivebuffer.d.ts
2023-01-27 19:21:00 -07:00

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