Previous Topic: GaugeNext Topic: Date


String

For the string types, the value n represents the maximum number of octets in the string. The actual number of octets in use can be shorter than this maximum value. Strings are stored with their length in the first four octets (which are not counted in n); they do not need to be zero-terminated as in the C/C++ programming languages. String lengths represent the number of octets in the string, not the number of characters.