A suite to track Project Diva score statistics and ratings / D4DJ event data.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
projectdivar/server/node_modules/pg-protocol/dist/BufferWriter.d.ts

20 lines
601 B

/// <reference types="node" />
export declare class Writer {
private buffer;
private offset;
private headerPosition;
private readonly encoding;
constructor(size?: number);
private _ensure;
addInt32(num: number): Writer;
addInt16(num: number): Writer;
addCString(string: string): Writer;
addChar(c: string): Writer;
addString(string?: string): Writer;
getByteLength(): number;
add(otherBuffer: Buffer): Writer;
clear(): void;
addHeader(code: number, last?: boolean): void;
join(code?: number): Buffer;
flush(code?: number): Buffer;
}