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.
15 lines
374 B
15 lines
374 B
4 years ago
|
/// <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;
|
||
|
}
|