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 field or reference 1 yes Element of the field.
count unsigned 1 no 0 Fixed number of elements in the list. Cannot be used tegether with lengthPrefix or countPrefix.
countPrefix field or reference 1 no Prefix field containing number of elements in the list. Cannot be used tegether with count or lengthPrefix.
lengthPrefix field or reference 1 no Prefix field containing serialization length of the list. Cannot be used tegether with count or countPrefix.
elemLengthPrefix field 1 no Prefix field containing serialization length of the list element.
elemFixedLength bool 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.

results matching ""

    No results matching ""