Properties of list Field

The <list> field has all the common properties as well as ones listed below. Refer to <list> Field chapter for detailed description.

Property Name

Allowed type / value

DSL Version

Required

Default Value

Description

element

1

yes

Element of the field.

count

1

no

0

Fixed number of elements in the list. Cannot be used tegether with lengthPrefix or countPrefix.

countPrefix

1

no

Prefix field containing number of elements in the list. Cannot be used tegether with count or lengthPrefix.

lengthPrefix

1

no

Prefix field containing serialization length of the list. Cannot be used tegether with count or countPrefix.

elemLengthPrefix

1

no

Prefix field containing serialization length of the list element.

elemFixedLength

1

no

false

Indication of whether list has and will allways have fixed length element, so elemLengthPrefix prefixes only the first element and not the rest.

Last updated

Was this helpful?