12 #ifndef SPROCKIT_COMMON_MESSAGES_spkt_serializer_H_INCLUDED 13 #define SPROCKIT_COMMON_MESSAGES_spkt_serializer_H_INCLUDED 117 template <
class T,
int N>
128 ::memcpy(charstr, arr, N*
sizeof(T));
133 ::memcpy(arr, charstr, N*
sizeof(T));
139 template <
typename T,
typename Int>
167 template <
typename Int>
void start_packing(char *buffer, size_t size)
void pack_buffer(void *buf, int size)
char * next_str(size_t size)
pvt::ser_unpacker unpacker_
void * memcpy(const VariablePtr< T > &dst, const VariablePtr< T > &src, size_t size)
void start_unpacking(char *buffer, size_t size)
pvt::ser_unpacker & unpacker()
pvt::ser_packer & packer()
void init(void *buffer, size_t size)
void string(std::string &str)
void unpack_buffer(void *buf, int size)
SERIALIZE_MODE mode() const
void set_mode(SERIALIZE_MODE mode)
This class is basically a wrapper for objects to declare the order in which their members should be s...
void binary(T *&buffer, Int &size)
void binary(void *&buffer, Int &size)