Source: Real-Time Innovations ( Gerardo Pardo-Castellote)
Currently LC=6 indicates the length is multiplied by 2 and LC=7 indicates it should be multiplied by 4.
It would be better if LC=6 indicated the length is multiplied by 4 and LC=7 indicated it should be multiplied by 8.
The reason is that members of length 8 (INT64) and DOUBLE are far more common that members of length 2 (INT16 and CHAR16).
Reported: DDS-XTypes 1.2 — Thu, 6 Sep 2018 02:21 GMT
Disposition: Resolved — DDS-XTypes 1.3
Change the interpretation of LC=6 and LC=7
Change de interpretation of the Length Code (LC) for values LC=6 and LC=7. The new interpretation shall be:
- LC = 6 = 0b110 indicates serialized member length is 4*NEXTINT
- LC = 7 = 0b111 indicates serialized member length is 8*NEXTINT
This impacts only de LC definitions that appear in section 188.8.131.52.2 'Member Header (EMHEADER), Length Code (LC) and NEXTINT'
Updated: Tue, 8 Oct 2019 17:55 GMT