| 67 | |
| 68 | template <typename T> |
| 69 | CDataStream Serialize(const T& obj, const int version = INIT_PROTO_VERSION, const int ser_type = SER_NETWORK) |
| 70 | { |
| 71 | CDataStream ds(ser_type, version); |
| 72 | ds << obj; |
| 73 | return ds; |
| 74 | } |
| 75 | |
| 76 | template <typename T> |
| 77 | T Deserialize(CDataStream ds) |
no outgoing calls
no test coverage detected