Files
Metacase/Frontend/angular-internal-chat/node_modules/@jsonjoy.com/json-pack/lib/ion/IonDecoder.js
T
2026-03-22 18:07:19 +00: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