@wildboar/acse
Version:
Association Control Service Element PDUs in TypeScript
39 lines • 1.22 kB
text/typescript
import { ASN1Element as _Element } from '@wildboar/asn1';
import * as $ from '@wildboar/asn1/functional';
import { AE_title_form1 } from '../ACSE-1/AE-title-form1.ta.mjs';
import { AE_title_form2 } from '../ACSE-1/AE-title-form2.ta.mjs';
/**
* @summary AE_title
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* AE-title ::= CHOICE {
* ae-title-form1 AE-title-form1,
* ae-title-form2 AE-title-form2,
* ...
* }
* ```
*/
export type AE_title = {
ae_title_form1: AE_title_form1;
} | {
ae_title_form2: AE_title_form2;
} | _Element;
/**
* @summary Decodes an ASN.1 element into a(n) AE_title
* @function
* @param {_Element} el The element being decoded.
* @returns {AE_title} The decoded data structure.
*/
export declare function _decode_AE_title(el: _Element): AE_title;
/**
* @summary Encodes a(n) AE_title into an ASN.1 Element.
* @function
* @param value The element being encoded.
* @param elGetter A function that can be used to get new ASN.1 elements.
* @returns {_Element} The AE_title, encoded as an ASN.1 Element.
*/
export declare function _encode_AE_title(value: AE_title, elGetter: $.ASN1Encoder<AE_title>): _Element;
//# sourceMappingURL=AE-title.ta.d.mts.map