MCPcopy Create free account
hub / github.com/catboost/catboost / Deserialize

Function Deserialize

library/cpp/neh/udp.cpp:216–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214 namespace NPrivate {
215 template <class T>
216 static inline void Deserialize(TPacketInput* in, T& t) {
217 char type;
218 Load(in, type);
219
220 if (type != t.Type()) {
221 ythrow yexception() << "unsupported packet";
222 }
223
224 t.Deserialize(in);
225 }
226
227 template <class T>
228 static inline void Deserialize(const TPacket& p, T& t) {

Callers 3

TRequestPacketMethod · 0.85
TResponsePacketMethod · 0.85
DeserializeMethod · 0.85

Calls 3

LoadFunction · 0.50
TypeMethod · 0.45
DeserializeMethod · 0.45

Tested by

no test coverage detected