Files
starface-outlook-sync-addin/node_modules/@jsonjoy.com/json-pack/lib/ion/IonDecoder.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

23 lines
694 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IonDecoder = void 0;
const IonDecoderBase_1 = require("./IonDecoderBase");
const Import_1 = require("./Import");
const symbols_1 = require("./symbols");
class IonDecoder extends IonDecoderBase_1.IonDecoderBase {
constructor(reader) {
super(reader);
}
decode(data) {
this.reader.reset(data);
this.symbols = new Import_1.Import(symbols_1.systemSymbolImport, []);
this.validateBVM();
this.readSymbolTable();
return this.val();
}
read() {
return this.val();
}
}
exports.IonDecoder = IonDecoder;
//# sourceMappingURL=IonDecoder.js.map