Function cras::getBufferLength

Function Documentation

size_t cras::getBufferLength(const ::topic_tools::ShapeShifter &msg)

Get the length of the internal buffer with serialized message data.

Note

The buffer can stop being valid after a ShapeShifter::read() operation or when the shifter is destroyed.

Parameters:

msg[in] The shape shifter object.

Returns:

The internal buffer length.