company logo

UTF16 - String value (UTF16 encoding) (internal class - not supported as interface)

UTF16 stringproperties are Unicode fields with 16 bit encoding. The end of the string is indicated by a 16 bit 0 (0-terminated string).

Defining variable string fields as attributes will always occupy storage with the defined size. In order to optimize storing large text instances, the property can be defined as reference. UTF16 type properties defined as reference are, from a conceptual point of view, attributes. Technical, however, they are considered as references and need to be defined as such.

UTF16 fields are an ODABA specific extension.