@wildboar/copp
Version:
Connection-oriented presentation protocol (COPP) data structures and business logic in TypeScript
47 lines • 2.98 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports._encode_Called_presentation_selector = exports._decode_Called_presentation_selector = exports._encode_Presentation_selector = exports._decode_Presentation_selector = void 0;
const Presentation_selector_ta_1 = require("../ISO8823-PRESENTATION/Presentation-selector.ta");
var Presentation_selector_ta_2 = require("../ISO8823-PRESENTATION/Presentation-selector.ta");
Object.defineProperty(exports, "_decode_Presentation_selector", { enumerable: true, get: function () { return Presentation_selector_ta_2._decode_Presentation_selector; } });
Object.defineProperty(exports, "_encode_Presentation_selector", { enumerable: true, get: function () { return Presentation_selector_ta_2._encode_Presentation_selector; } });
/* END_OF_SYMBOL_DEFINITION Called_presentation_selector */
/* START_OF_SYMBOL_DEFINITION _cached_decoder_for_Called_presentation_selector */
let _cached_decoder_for_Called_presentation_selector = null;
/* END_OF_SYMBOL_DEFINITION _cached_decoder_for_Called_presentation_selector */
/* START_OF_SYMBOL_DEFINITION _decode_Called_presentation_selector */
/**
* @summary Decodes an ASN.1 element into a(n) Called_presentation_selector
* @function
* @param {_Element} el The element being decoded.
* @returns {Called_presentation_selector} The decoded data structure.
*/
function _decode_Called_presentation_selector(el) {
if (!_cached_decoder_for_Called_presentation_selector) {
_cached_decoder_for_Called_presentation_selector = Presentation_selector_ta_1._decode_Presentation_selector;
}
return _cached_decoder_for_Called_presentation_selector(el);
}
exports._decode_Called_presentation_selector = _decode_Called_presentation_selector;
/* END_OF_SYMBOL_DEFINITION _decode_Called_presentation_selector */
/* START_OF_SYMBOL_DEFINITION _cached_encoder_for_Called_presentation_selector */
let _cached_encoder_for_Called_presentation_selector = null;
/* END_OF_SYMBOL_DEFINITION _cached_encoder_for_Called_presentation_selector */
/* START_OF_SYMBOL_DEFINITION _encode_Called_presentation_selector */
/**
* @summary Encodes a(n) Called_presentation_selector into an ASN.1 Element.
* @function
* @param {value} el The element being decoded.
* @param elGetter A function that can be used to get new ASN.1 elements.
* @returns {_Element} The Called_presentation_selector, encoded as an ASN.1 Element.
*/
function _encode_Called_presentation_selector(value, elGetter) {
if (!_cached_encoder_for_Called_presentation_selector) {
_cached_encoder_for_Called_presentation_selector = Presentation_selector_ta_1._encode_Presentation_selector;
}
return _cached_encoder_for_Called_presentation_selector(value, elGetter);
}
exports._encode_Called_presentation_selector = _encode_Called_presentation_selector;
/* END_OF_SYMBOL_DEFINITION _encode_Called_presentation_selector */
/* eslint-enable */
//# sourceMappingURL=Called-presentation-selector.ta.js.map