"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.N64Header = void 0;
class N64Header {
    name;
    country_code;
    revision;
    id;
    constructor(raw) {
        this.name = raw
            .slice(0x20, 0x20 + 0x1B)
            .toString('ascii');
        this.country_code = raw
            .slice(0x3e, 0x3f)
            .toString('ascii');
        this.revision = raw.readUInt8(0x3f);
        this.id = raw.slice(0x3B, 0x3E).toString('ascii');
    }
}
exports.N64Header = N64Header;
//# sourceMappingURL=N64Header.js.map