UNPKG

@wildboar/copp

Version:

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

40 lines (39 loc) 1.66 kB
import { ASN1Element as _Element } from 'asn1-ts'; import * as $ from 'asn1-ts/dist/node/functional'; import { Result_list_Item } from '../ISO8823-PRESENTATION/Result-list-Item.ta'; export { Result_list_Item, _decode_Result_list_Item, _encode_Result_list_Item, } from '../ISO8823-PRESENTATION/Result-list-Item.ta'; /** * @summary Result_list * @description * * ### ASN.1 Definition: * * ```asn1 * Result-list ::= * SEQUENCE SIZE (0..7, ..., 8..MAX) OF * SEQUENCE {result [0] IMPLICIT Result, * transfer-syntax-name [1] IMPLICIT Transfer-syntax-name OPTIONAL, * provider-reason * [2] IMPLICIT INTEGER {reason-not-specified(0), * abstract-syntax-not-supported(1), * proposed-transfer-syntaxes-not-supported(2), * local-limit-on-DCS-exceeded(3)} OPTIONAL * } * ``` */ export declare type Result_list = Result_list_Item[]; /** * @summary Decodes an ASN.1 element into a(n) Result_list * @function * @param {_Element} el The element being decoded. * @returns {Result_list} The decoded data structure. */ export declare function _decode_Result_list(el: _Element): Result_list; /** * @summary Encodes a(n) Result_list 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 Result_list, encoded as an ASN.1 Element. */ export declare function _encode_Result_list(value: Result_list, elGetter: $.ASN1Encoder<Result_list>): _Element;