STRING Field
Strings are ASCII character arrays or single-byte characters. There are two types of string fields: Single Byte String and Character Array String. These string types are encoded as follows:
| String Type | byteLength Attribute | Encoding | Example |
|---|---|---|---|
| Single Byte String | =1 | The string's length=1. The field is encoded as one byte. | MDEntryType field has byteLength="1". For example - "1" (Ask - see MD Entry Type) is encoded as the ASCII character 1. |
| Character Array String | >1 | The string's length is fixed. The field is encoded as a binary length byte, followed by the characters of the string. | EffectiveBusinessDate field has byteLength="8". For example - "20230815" is encoded as binary 0x08 followed by the ASCII characters |
| Absent | The string's length is variable. The field is encoded as a binary length byte, followed by the characters of the string. |
|





