2023-04-28 16:47:02 +01:00
|
|
|
export interface IReader {
|
|
|
|
readBuffer(bytes:number): Buffer,
|
|
|
|
readUint8Array(bytes:number): Uint8Array,
|
|
|
|
readByte(): number,
|
|
|
|
readUByte(): number,
|
|
|
|
readBool(): boolean,
|
|
|
|
readShort(): number,
|
|
|
|
readUShort(): number,
|
|
|
|
readInt(): number,
|
|
|
|
readUInt(): number,
|
|
|
|
readLong(): bigint,
|
|
|
|
readULong(): bigint,
|
|
|
|
readFloat(): number,
|
|
|
|
readDouble(): number,
|
|
|
|
readShortString(): string,
|
|
|
|
readString(): string,
|
2023-05-02 10:12:40 +01:00
|
|
|
readString16(): string,
|
2023-04-28 16:47:02 +01:00
|
|
|
}
|