Template parent and default pass-through encoding/decoding. More...
#include <message.hpp>
Static Public Member Functions | |
static T | decode (const unsigned char *buffer, const unsigned int &size) |
static void | encode (const T &msg, ByteArray &buffer) |
Template parent and default pass-through encoding/decoding.
Implement serialisations in specialisations of this class.
T | : the data type (e.g. std::string) |
Definition at line 46 of file message.hpp.
static T mm_messages::Message< T >::decode | ( | const unsigned char * | buffer, |
const unsigned int & | size | ||
) | [inline, static] |
Definition at line 50 of file message.hpp.
static void mm_messages::Message< T >::encode | ( | const T & | msg, |
ByteArray & | buffer | ||
) | [inline, static] |
Definition at line 47 of file message.hpp.