Type EncodingFormat

namespace: Tensor
languages: node(XidUShort), cpp(uint16_t), c(uint16_t), java(XidShort)

Description

The encoding format determines how element data is run-time encoded within a particular element independent of the transport encoding. These values are specified in the "encoding" attribute for elements. Not all encoding formats are supported by every wireline protocol implementation. Additionally, custom encodings may be defined to support application defined encodings. Any non-standard encodings must be registered (to avoid collision) and approved by the appropriate approving authority (e.g. Comtech). Values from 0 to 255 are reserved for standard-encodings. Custom encodings start at 256(0x0100) and extend to 65535 (0xFFFF).

This is not the same as defining in XID a raw datatype or json datatype which are NOT changeable are run-time.
Example:
     The message XMF but a field is defined to be encoded as JSON.
     Likewise, the message is JSON, but a field is run-time encoded to be XMF.

Data encoding format type. If 0, value is not encoded. See ResrvedEncodingFormats for a list of standard format specifiers.