//! Convert message data to string. inline std::string msg_to_str(message_t& msg) { return std::string(static_cast<char*>(msg.data()), msg.size()); }