@wildboar/acse
Version:
Association Control Service Element PDUs in TypeScript
29 lines • 1.07 kB
text/typescript
import { EXTERNAL, ASN1Element as _Element } from '@wildboar/asn1';
import * as $ from '@wildboar/asn1/functional';
/**
* @summary Association_data
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* Association-data ::= SEQUENCE SIZE (1, ..., 0 | 2..MAX) OF EXTERNAL
* ```
*/
export type Association_data = EXTERNAL[];
/**
* @summary Decodes an ASN.1 element into a(n) Association_data
* @function
* @param {_Element} el The element being decoded.
* @returns {Association_data} The decoded data structure.
*/
export declare function _decode_Association_data(el: _Element): Association_data;
/**
* @summary Encodes a(n) Association_data 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 Association_data, encoded as an ASN.1 Element.
*/
export declare function _encode_Association_data(value: Association_data, elGetter: $.ASN1Encoder<Association_data>): _Element;
//# sourceMappingURL=Association-data.ta.d.mts.map