ess-ts
Version:
Enhanced Security Services (ESS) in TypeScript
22 lines • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports._encode_ContentIdentifier = exports._decode_ContentIdentifier = void 0;
const tslib_1 = require("tslib");
const $ = tslib_1.__importStar(require("asn1-ts/dist/node/functional"));
let _cached_decoder_for_ContentIdentifier = null;
function _decode_ContentIdentifier(el) {
if (!_cached_decoder_for_ContentIdentifier) {
_cached_decoder_for_ContentIdentifier = $._decodeOctetString;
}
return _cached_decoder_for_ContentIdentifier(el);
}
exports._decode_ContentIdentifier = _decode_ContentIdentifier;
let _cached_encoder_for_ContentIdentifier = null;
function _encode_ContentIdentifier(value, elGetter) {
if (!_cached_encoder_for_ContentIdentifier) {
_cached_encoder_for_ContentIdentifier = $._encodeOctetString;
}
return _cached_encoder_for_ContentIdentifier(value, elGetter);
}
exports._encode_ContentIdentifier = _encode_ContentIdentifier;
//# sourceMappingURL=ContentIdentifier.ta.js.map