Feature request
Feature description
I noticed that none of the major rmw implementations implements rmw_get_serialized_message_size. I wonder if that is the case because it works on the rosidl_runtime_c__Sequence__bound struct and not an actual instance of a message. I could not really grasp how the rosidl_runtime_c__Sequence__bound should be used and to what structure * data should be pointing to.
Implementation considerations
Maybe it would be helpful to add a function interface that works on an actual instance of a message, that should be more straightforward to implement, e.g. for cyclonedds similar to this code.
Feature request
Feature description
I noticed that none of the major rmw implementations implements
rmw_get_serialized_message_size. I wonder if that is the case because it works on therosidl_runtime_c__Sequence__boundstruct and not an actual instance of a message. I could not really grasp how therosidl_runtime_c__Sequence__boundshould be used and to what structure* datashould be pointing to.Implementation considerations
Maybe it would be helpful to add a function interface that works on an actual instance of a message, that should be more straightforward to implement, e.g. for cyclonedds similar to this code.