finki-main
main
|
Last change
on this file since 62b2964 was 62b2964, checked in by Klimentina Efremova <klimentina08642@…>, 2 weeks ago |
|
Project Handcraft Marketplace
|
-
Property mode
set to
100644
|
|
File size:
481 bytes
|
| Line | |
|---|
| 1 | export declare class Writer {
|
|---|
| 2 | private size;
|
|---|
| 3 | private buffer;
|
|---|
| 4 | private offset;
|
|---|
| 5 | private headerPosition;
|
|---|
| 6 | constructor(size?: number);
|
|---|
| 7 | private ensure;
|
|---|
| 8 | addInt32(num: number): Writer;
|
|---|
| 9 | addInt16(num: number): Writer;
|
|---|
| 10 | addCString(string: string): Writer;
|
|---|
| 11 | addString(string?: string): Writer;
|
|---|
| 12 | addInt32PrefixedString(string: string): Writer;
|
|---|
| 13 | add(otherBuffer: Buffer): Writer;
|
|---|
| 14 | private join;
|
|---|
| 15 | flush(code?: number): Buffer;
|
|---|
| 16 | clear(): void;
|
|---|
| 17 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.