rickandmorty/node_modules/pg-protocol/dist/buffer-reader.d.ts

15 lines
374 B
TypeScript
Raw Normal View History

2024-07-19 21:05:41 +03:00
/// <reference types="node" />
export declare class BufferReader {
private offset;
private buffer;
private encoding;
constructor(offset?: number);
setBuffer(offset: number, buffer: Buffer): void;
int16(): number;
byte(): number;
int32(): number;
string(length: number): string;
cstring(): string;
bytes(length: number): Buffer;
}