interface RuleOptions {
    order?: number;
    repeat?: boolean;
    required?: boolean;
}

Properties

order?: number

Expected order of appearance.

When using this option, it should be specified for all rules in a EvDecoder.

The order in which rules were added to EvDecoder.

repeat?: boolean

Whether TLV element may appear more than once.

false

required?: boolean

Whether TLV element must appear at least once.

false