MCPcopy Create free account
hub / github.com/actor-framework/actor-framework / read

Method read

libcaf_net/caf/net/ssl/connection.cpp:108–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106// -- reading and writing ------------------------------------------------------
107
108ptrdiff_t connection::read(byte_span buf) {
109 ERR_clear_error();
110 return SSL_read(native(pimpl_), buf.data(), static_cast<int>(buf.size()));
111}
112
113ptrdiff_t connection::write(const_byte_span buf) {
114 ERR_clear_error();

Callers 1

readFunction · 0.45

Calls 3

nativeFunction · 0.70
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected