Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
314 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /// <reference types="node" />
|
---|
| 2 | declare class ReceiveBuffer {
|
---|
| 3 | private buffer;
|
---|
| 4 | private offset;
|
---|
| 5 | private originalSize;
|
---|
| 6 | constructor(size?: number);
|
---|
| 7 | get length(): number;
|
---|
| 8 | append(data: Buffer): number;
|
---|
| 9 | peek(length: number): Buffer;
|
---|
| 10 | get(length: number): Buffer;
|
---|
| 11 | }
|
---|
| 12 | export { ReceiveBuffer };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.