rss-feeder-mobilizon/node_modules/pg-protocol/dist/buffer-reader.d.ts

15 lines
374 B
TypeScript
Raw Normal View History

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