MCPcopy Create free account
hub / github.com/davisking/dlib / deserialize

Function deserialize

examples/bridge_ex.cpp:203–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203void 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

Callers 15

mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
deserializeMethod · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected