10 #include "../../include/mm_core_msgs/string.hpp" 11 #include "../../include/mm_core_msgs/test_identifiers.hpp" 28 buffer.insert(buffer.end(), s.begin(), s.end());
32 return std::string(buffer, buffer + size);
static void encode(const T &msg, ByteArray &buffer)
MM_REGISTER_PACKET_INFO(mm_core_msgs::TestStrings, std::string,"Core official test message packet id for strings")
std::vector< unsigned char > ByteArray
static T decode(const unsigned char *buffer, const unsigned int &size)