MCPcopy Create free account
hub / github.com/TelegramMessenger/cocoon / read

Method read

tdport/td/net/SslStream.cpp:279–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277 }
278
279 size_t read(MutableSlice data) {
280 return input_->advance(min(data.size(), input_->size()), data);
281 }
282
283 private:
284 SslStreamImpl *stream_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected