UNPKG

@wildboar/copp

Version:

Connection-oriented presentation protocol (COPP) data structures and business logic in TypeScript

47 lines 3.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._encode_Calling_presentation_selector = exports._decode_Calling_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 Calling_presentation_selector */ /* START_OF_SYMBOL_DEFINITION _cached_decoder_for_Calling_presentation_selector */ let _cached_decoder_for_Calling_presentation_selector = null; /* END_OF_SYMBOL_DEFINITION _cached_decoder_for_Calling_presentation_selector */ /* START_OF_SYMBOL_DEFINITION _decode_Calling_presentation_selector */ /** * @summary Decodes an ASN.1 element into a(n) Calling_presentation_selector * @function * @param {_Element} el The element being decoded. * @returns {Calling_presentation_selector} The decoded data structure. */ function _decode_Calling_presentation_selector(el) { if (!_cached_decoder_for_Calling_presentation_selector) { _cached_decoder_for_Calling_presentation_selector = Presentation_selector_ta_1._decode_Presentation_selector; } return _cached_decoder_for_Calling_presentation_selector(el); } exports._decode_Calling_presentation_selector = _decode_Calling_presentation_selector; /* END_OF_SYMBOL_DEFINITION _decode_Calling_presentation_selector */ /* START_OF_SYMBOL_DEFINITION _cached_encoder_for_Calling_presentation_selector */ let _cached_encoder_for_Calling_presentation_selector = null; /* END_OF_SYMBOL_DEFINITION _cached_encoder_for_Calling_presentation_selector */ /* START_OF_SYMBOL_DEFINITION _encode_Calling_presentation_selector */ /** * @summary Encodes a(n) Calling_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 Calling_presentation_selector, encoded as an ASN.1 Element. */ function _encode_Calling_presentation_selector(value, elGetter) { if (!_cached_encoder_for_Calling_presentation_selector) { _cached_encoder_for_Calling_presentation_selector = Presentation_selector_ta_1._encode_Presentation_selector; } return _cached_encoder_for_Calling_presentation_selector(value, elGetter); } exports._encode_Calling_presentation_selector = _encode_Calling_presentation_selector; /* END_OF_SYMBOL_DEFINITION _encode_Calling_presentation_selector */ /* eslint-enable */ //# sourceMappingURL=Calling-presentation-selector.ta.js.map