1234567891011121314151617 |
- /// <reference types="node" />
- export declare class Writer {
- private size;
- private buffer;
- private offset;
- private headerPosition;
- constructor(size?: number);
- private ensure;
- addInt32(num: number): Writer;
- addInt16(num: number): Writer;
- addCString(string: string): Writer;
- addString(string?: string): Writer;
- add(otherBuffer: Buffer): Writer;
- private join;
- flush(code?: number): Buffer;
- }
|