FromBinaryTransformAlgorithm/ToBinaryTransformAlgorithm should be allowed for all data encodings
Source: Space Applications Services ( Nicolae Mihalache)
Currently the FromBinaryTransformAlgorithm/ToBinaryTransformAlgorithm are allowed only for BinaryDataEncodingType with the comment "Used to convert binary data from an application data type to binary data". However the binary data encoding is used to encode/decode binary data, so not any application data (float, integer, time,...).
We believe it is more beneficial to allow these algorithms to all data encoding types.
For example a FromBinaryTransformAlgorithm attached to a IntegerDataEncoding can extract a varint like the ones used in protobuf (https://developers.google.com/protocol-buffers/docs/encoding#varints).
Similarly a ToBinaryTransformAlgorithm attached to a FloatDataEncoding can be used to encode a floating point number in an exotic format; for example bfloat16 is commonly used in AI chips (https://en.wikipedia.org/wiki/Bfloat16_floating-point_format)
Reported: XTCE 1.2 — Thu, 22 Apr 2021 07:57 GMT
Updated: Wed, 22 Mar 2023 20:30 GMT