import { Logger } from "../../Logger.js"; import { RecordReader } from "./RecordReader.js"; import { UdbRecord } from "./UdbRecord.js"; /** * Creates an InputRecord from a raw binary record. */ export declare abstract class BinaryRecordReader extends RecordReader { private _recordHex; private unknownOnly; protected constructor(buffer: any, logger: Logger); protected get recordHex(): string; readed(l: number): void; logReadPos(prop: string): void; readString(length: number, prop: string): string; readByte(prop: string): any; readByteBits(prop1: string, size: number, prop2: string): any; readNibbles(prop1: string, prop2: string): any; static readInt16LE(buffer: any, pos: any): number; readSignedInt(prop: string): number; /** * Characters 0x80-0xFF of the MS-DOS code page 437 (the one *U* used). */ private static readonly CP437_HIGH; /** * Control codes that MS-DOS displayed as glyphs and that *U* uses in texts (mostly 0x18 = ↑ and 0x19 = ↓). */ private static readonly CP437_LOW; /** * Decodes a byte as a MS-DOS code page 437 character. */ static cp437Char(byte: number): string; /** * Replaces characters that are invalid in XML 1.0 by spaces. */ static validString(str: string): string; read(filePos: number, recordIndex?: number): UdbRecord; }