rl-loadout-lib
Version:
Load Rocket League assets into three.js
19 lines • 659 B
TypeScript
export declare class BitBinaryWriter {
private readonly buffer;
currentBit: number;
constructor(bufferSize: number);
writeNumber(n: number, bits: number): void;
writeBool(b: boolean): void;
calculateCrc(startByte: number, endByte: number): number;
toHex(): string;
}
export declare class BitBinaryReader {
private readonly buffer;
private currentBit;
constructor(hexString: string);
readNumber(bits: number): number;
readBool(): boolean;
calculateCrc(startByte: number, endByte: number): number;
verifyCrc(crc: number, startByte: number, endByte: number): boolean;
}
//# sourceMappingURL=binary.d.ts.map