@wildboar/copp
Version:
Connection-oriented presentation protocol (COPP) data structures and business logic in TypeScript
31 lines • 988 B
text/typescript
import { ASN1Element as _Element } from '@wildboar/asn1';
import * as $ from '@wildboar/asn1/functional';
import { User_data } from '../ISO8823-PRESENTATION/User-data.ta.mjs';
/**
* @summary CPC_type
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* CPC-type ::=
* User-data
* ```
*/
export type CPC_type = User_data;
/**
* @summary Decodes an ASN.1 element into a(n) CPC_type
* @function
* @param {_Element} el The element being decoded.
* @returns {CPC_type} The decoded data structure.
*/
export declare function _decode_CPC_type(el: _Element): CPC_type;
/**
* @summary Encodes a(n) CPC_type 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 CPC_type, encoded as an ASN.1 Element.
*/
export declare function _encode_CPC_type(value: CPC_type, elGetter: $.ASN1Encoder<CPC_type>): _Element;
//# sourceMappingURL=CPC-type.ta.d.mts.map