MCPcopy Create free account
hub / github.com/chriskohlhoff/asio / size

Method size

include/asio/basic_streambuf.hpp:159–162  ·  view source on GitHub ↗

Get the size of the input sequence. * @returns The size of the input sequence. The value is equal to that * calculated for @c s in the following code: * @code * size_t s = 0; * const_buffers_type bufs = data(); * const_buffers_type::const_iterator i = bufs.begin(); * while (i != bufs.end()) * { * const_buffer buf(*i++); * s += buf.size(); * } * @endcode */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

read_size_helperMethod · 0.45
sizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected