Function cras::getBuffer(::topic_tools::ShapeShifter&)

Function Documentation

uint8_t *cras::getBuffer(::topic_tools::ShapeShifter &msg)

Get 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.