Function cras::getBuffer(const ::topic_tools::ShapeShifter&)
Defined in File shape_shifter.h
Function Documentation
-
const uint8_t *cras::getBuffer(const ::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.