node-ejs-renderer/node_modules/@jsonjoy.com/json-pack/lib/codecs/cbor.js

15 lines
533 B
JavaScript
Raw Permalink Normal View History

2024-06-09 13:55:01 -04:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CborJsonValueCodec = void 0;
const CborDecoder_1 = require("../cbor/CborDecoder");
const CborEncoder_1 = require("../cbor/CborEncoder");
class CborJsonValueCodec {
constructor(writer) {
this.id = 'cbor';
this.format = 0;
this.encoder = new CborEncoder_1.CborEncoder(writer);
this.decoder = new CborDecoder_1.CborDecoder();
}
}
exports.CborJsonValueCodec = CborJsonValueCodec;
//# sourceMappingURL=cbor.js.map