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

Method DeserializeFrom

src/brpc/compress.h:143–149  ·  view source on GitHub ↗

Converts the decompressed `input'.

Source from the content-addressed store, hash-verified

141
142 // Converts the decompressed `input'.
143 bool DeserializeFrom(google::protobuf::io::ZeroCopyInputStream* intput) const {
144 if (!_callback) {
145 LOG(WARNING) << "Deserializer::DeserializeFrom() called without callback";
146 return false;
147 }
148 return _callback(intput);
149 }
150 void SetCallback(Callback callback) {
151 _callback = std::move(callback);
152 }

Callers 3

DecompressFunction · 0.80
SnappyDecompressFunction · 0.80
DeserializeRpcMessageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected