Properties of string Field

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

Property Name

Allowed type / value

DSL Version

Required

Default Value

Description

defaultValue

string

1

no

Default value.

length

1

no

0

Fixed serialization length. 0 means no length limit. Cannot be used tegether with lengthPrefix or zeroTermSuffix.

lengthPrefix

1

no

Prefix field containing length of the string. Cannot be used tegether with length or zeroTermSuffix.

zeroTermSuffix

1

no

false

Terminate string with 0. Cannot be used tegether with length or lengthPrefix.

Last updated

Was this helpful?