MCPcopy Create free account
hub / github.com/boostorg/asio / read_some

Method read_some

include/boost/asio/basic_stream_socket.hpp:984–991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

982 */
983 template <typename MutableBufferSequence>
984 std::size_t read_some(const MutableBufferSequence& buffers)
985 {
986 boost::system::error_code ec;
987 std::size_t s = this->impl_.get_service().receive(
988 this->impl_.get_implementation(), buffers, 0, ec);
989 boost::asio::detail::throw_error(ec, "read_some");
990 return s;
991 }
992
993 /// Read some data from the socket.
994 /**

Callers

nothing calls this directly

Calls 2

throw_errorFunction · 0.85
receiveMethod · 0.45

Tested by

no test coverage detected