Go to the source code of this file.
Namespaces |
| namespace | DtBufferSerialize |
| | This namespace contains a set of utility functions for encoding and decoding various data types to/from a byte array.
|
Functions |
| template<typename FirstType , typename SecondType > |
| int | DtBufferSerialize::getSize (const DtRwTemplatedPair< FirstType, SecondType > &val) |
| template<typename FirstType , typename SecondType > |
| char * | DtBufferSerialize::encode (const DtRwTemplatedPair< FirstType, SecondType > &val, char *buffer) |
| | Encodes the map into the buffer.
|
| template<typename FirstType , typename SecondType > |
| const char * | DtBufferSerialize::decode (DtRwTemplatedPair< FirstType, SecondType > &val, const char *buffer) |
| | Decodes a map from buffer.
|
| template<typename KeyType , typename ValType > |
| int | DtBufferSerialize::getSize (const DtRwTemplatedMapPtr< KeyType, ValType > &m) |
| template<typename KeyType , typename ValType > |
| char * | DtBufferSerialize::encode (const DtRwTemplatedMapPtr< KeyType, ValType > &m, char *buffer) |
| | Encodes the map into the buffer.
|
| template<typename KeyType , typename ValType > |
| const char * | DtBufferSerialize::decode (DtRwTemplatedMapPtr< KeyType, ValType > &m, const char *buffer) |
| | Decodes a map from buffer.
|
Detailed Description