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

Function size

include/boost/asio/buffer.hpp:307–310  ·  view source on GitHub ↗

Get the size of the memory range.

Source from the content-addressed store, hash-verified

305
306 /// Get the size of the memory range.
307 std::size_t size() const noexcept
308 {
309 return size_;
310 }
311
312 /// Move the start of the buffer by the specified number of bytes.
313 const_buffer& operator+=(std::size_t n) noexcept

Callers 6

prepareFunction · 0.70
growFunction · 0.70
shrinkFunction · 0.70
consumeFunction · 0.70
resizeMethod · 0.50
emptyMethod · 0.50

Calls 2

max_sizeFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected