UNPKG

@wildboar/copp

Version:

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

31 lines (30 loc) 1.37 kB
import { ASN1Element as _Element } from 'asn1-ts'; import * as $ from 'asn1-ts/dist/node/functional'; import { Presentation_selector } from '../ISO8823-PRESENTATION/Presentation-selector.ta'; export { Presentation_selector, _decode_Presentation_selector, _encode_Presentation_selector, } from '../ISO8823-PRESENTATION/Presentation-selector.ta'; /** * @summary Called_presentation_selector * @description * * ### ASN.1 Definition: * * ```asn1 * Called-presentation-selector ::= Presentation-selector * ``` */ export declare type Called_presentation_selector = 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. */ export declare function _decode_Called_presentation_selector(el: _Element): Uint8Array; /** * @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. */ export declare function _encode_Called_presentation_selector(value: Called_presentation_selector, elGetter: $.ASN1Encoder<Called_presentation_selector>): _Element;