MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / WriteMessage

Function WriteMessage

Exporter/Binary/CoverageDataSerializer.cpp:82–89  ·  view source on GitHub ↗

---------------------------------------------------------------------

Source from the content-addressed store, hash-verified

80
81 //---------------------------------------------------------------------
82 void WriteMessage(
83 const google::protobuf::MessageLite& message,
84 google::protobuf::io::CodedOutputStream& output)
85 {
86 output.WriteVarint64(message.ByteSizeLong());
87 if (!message.SerializeToCodedStream(&output))
88 THROW(L"Cannot serialize message to stream");
89 }
90 }
91
92 //-------------------------------------------------------------------------

Callers 1

SerializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected