"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PrepIo = exports.FpgmIo = void 0;
const ot_glyphs_1 = require("@ot-builder/ot-glyphs");
exports.FpgmIo = {
    read(view) {
        const buf = view.bytes(view.sourceBufferSize);
        return new ot_glyphs_1.Fpgm.Table(buf);
    },
    write(frag, table) {
        frag.bytes(table.instructions);
    }
};
exports.PrepIo = {
    read(view) {
        const buf = view.bytes(view.sourceBufferSize);
        return new ot_glyphs_1.Prep.Table(buf);
    },
    write(frag, table) {
        frag.bytes(table.instructions);
    }
};
//# sourceMappingURL=index.js.map