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

Method mutable_buffer

include/boost/asio/buffer.hpp:121–125  ·  view source on GitHub ↗

Construct an empty buffer.

Source from the content-addressed store, hash-verified

119public:
120 /// Construct an empty buffer.
121 mutable_buffer() noexcept
122 : data_(0),
123 size_(0)
124 {
125 }
126
127 /// Construct a buffer to represent a given memory range.
128 mutable_buffer(void* data, std::size_t size) noexcept

Callers

nothing calls this directly

Calls 4

subspanMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected