bufferStuff/lib/readers/ReaderBase.d.ts

12 lines
300 B
TypeScript
Raw Normal View History

2023-05-12 14:14:28 +01:00
/// <reference types="node" />
export declare class ReaderBase {
buffer: Buffer;
offset: number;
constructor(buffer: Buffer);
readBuffer(bytes: number): Buffer;
readUint8Array(bytes: number): Uint8Array;
readByte(): number;
readUByte(): number;
readBool(): boolean;
}