MCPcopy Create free account
hub / github.com/apache/brpc / ParsePbFromIOBuf

Function ParsePbFromIOBuf

src/brpc/protocol.cpp:236–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236bool ParsePbFromIOBuf(google::protobuf::Message* msg, const butil::IOBuf& buf) {
237 butil::IOBufAsZeroCopyInputStream stream(buf);
238 return ParsePbFromZeroCopyStreamInlined(msg, &stream);
239}
240
241bool ParsePbFromArray(google::protobuf::Message* msg,
242 const void* data, size_t size) {

Callers 15

ProcessResponseFunction · 0.85
ParseFromCompressedDataFunction · 0.85
PopMethod · 0.85
ProcessHttpResponseFunction · 0.85
ProcessHttpRequestFunction · 0.85
ParseStreamingMessageFunction · 0.85
ProcessSofaRequestFunction · 0.85
ProcessSofaResponseFunction · 0.85
ParseNsheadMetaMethod · 0.85
ProcessRpcRequestFunction · 0.85
VerifyRpcRequestFunction · 0.85

Calls 1

Tested by 1

ProcessResponseFunction · 0.68