MCPcopy Create free account
hub / github.com/Norbyte/ositools / ProcessMessage

Method ProcessMessage

OsiInterface/DebugInterface.cpp:108–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 }
107
108 bool DebugInterface::ProcessMessage(uint8_t * buf, uint32_t length)
109 {
110 google::protobuf::io::ArrayInputStream ais(buf, length);
111 google::protobuf::io::CodedInputStream is(&ais);
112 DebuggerToBackend msg;
113 if (!msg.ParseFromCodedStream(&is)) {
114 Debug("Unable to decode protobuf message from coded stream.");
115 return false;
116 }
117
118 return messageHandler_(&msg);
119 }
120
121 void DebugInterface::Disconnect()
122 {

Callers

nothing calls this directly

Calls 1

DebugFunction · 0.85

Tested by

no test coverage detected