@wildboar/rose
Version:
Remote Operation Service Element PDUs in TypeScript
34 lines • 1.19 kB
text/typescript
import { NULL, ASN1Element as _Element } from '@wildboar/asn1';
import * as $ from '@wildboar/asn1/functional';
import { InvokeId } from '../Remote-Operations-Generic-ROS-PDUs/InvokeId.ta.mjs';
/**
* @summary Invoke_linkedId
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* Invoke-linkedId ::= CHOICE { -- REMOVED_FROM_UNNESTING -- }
* ```
*/
export type Invoke_linkedId = {
present: $.Selection<InvokeId, 'present'>;
} | {
absent: NULL;
};
/**
* @summary Decodes an ASN.1 element into a(n) Invoke_linkedId
* @function
* @param {_Element} el The element being decoded.
* @returns {Invoke_linkedId} The decoded data structure.
*/
export declare function _decode_Invoke_linkedId(el: _Element): Invoke_linkedId;
/**
* @summary Encodes a(n) Invoke_linkedId 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 Invoke_linkedId, encoded as an ASN.1 Element.
*/
export declare function _encode_Invoke_linkedId(value: Invoke_linkedId, elGetter: $.ASN1Encoder<Invoke_linkedId>): _Element;
//# sourceMappingURL=Invoke-linkedId.ta.d.mts.map