| 201 | } |
| 202 | |
| 203 | void deserialize (my_example_object& item, std::istream& in) |
| 204 | { |
| 205 | /* |
| 206 | deserialize() is just the inverse of serialize(). Again, you can do |
| 207 | whatever you want here so long as it correctly reconstructs item. This |
| 208 | also means that deserialize() must always consume as many bytes as serialize() |
| 209 | generates. |
| 210 | */ |
| 211 | dlib::deserialize(item.value, in); |
| 212 | dlib::deserialize(item.str, in); |
| 213 | } |
| 214 | |
| 215 | // ---------------------------------------------------------------------------------------- |
| 216 |
no outgoing calls
no test coverage detected