When should data_offset in multi array layout not be zero
Multiarray layout messages contain a dataoffset field (in `multiarraylayoutstruct.hof
stdmsgs`). I have implemented support for multiarrays in the Ada client library and I honor that field when interpreting a received message, but when creating a new one I always set that field to zero (and it seemingly works).
I guess the field is there for alignment issues, but I'd like to know for sure how it is expected to be used. The only documentation I've found is in MultiArrayLayout.msg
where it says that those are front padding bytes, but it doesn't go into further details about when such padding is needed. Thanks for any clarification.
Asked by amosteo on 2018-07-17 09:15:09 UTC
Comments