@wildboar/copp
Version:
Connection-oriented presentation protocol (COPP) data structures and business logic in TypeScript
53 lines (52 loc) • 1.75 kB
TypeScript
import { INTEGER, ASN1Element as _Element } from 'asn1-ts';
import * as $ from 'asn1-ts/dist/node/functional';
/**
* @summary Mode_selector_mode_value
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* Mode-selector-mode-value ::= INTEGER { -- REMOVED_FROM_UNNESTING -- }
* ```
*/
export declare type Mode_selector_mode_value = INTEGER;
/**
* @summary Mode_selector_mode_value_x410_1984_mode
* @constant
* @type {number}
*/
export declare const Mode_selector_mode_value_x410_1984_mode: Mode_selector_mode_value;
/**
* @summary Mode_selector_mode_value_x410_1984_mode
* @constant
* @type {number}
*/
export declare const x410_1984_mode: Mode_selector_mode_value;
/**
* @summary Mode_selector_mode_value_normal_mode
* @constant
* @type {number}
*/
export declare const Mode_selector_mode_value_normal_mode: Mode_selector_mode_value;
/**
* @summary Mode_selector_mode_value_normal_mode
* @constant
* @type {number}
*/
export declare const normal_mode: Mode_selector_mode_value;
/**
* @summary Decodes an ASN.1 element into a(n) Mode_selector_mode_value
* @function
* @param {_Element} el The element being decoded.
* @returns {Mode_selector_mode_value} The decoded data structure.
*/
export declare function _decode_Mode_selector_mode_value(el: _Element): INTEGER;
/**
* @summary Encodes a(n) Mode_selector_mode_value 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 Mode_selector_mode_value, encoded as an ASN.1 Element.
*/
export declare function _encode_Mode_selector_mode_value(value: Mode_selector_mode_value, elGetter: $.ASN1Encoder<Mode_selector_mode_value>): _Element;