Adapts a single modifiable buffer so that it meets the requirements of the MutableBufferSequence concept. More...
#include <buffer.hpp>
Public Types | |
typedef mutable_buffer | value_type |
The type for each element in the list of buffers. More... | |
typedef const mutable_buffer * | const_iterator |
A random-access iterator type that may be used to read elements. More... | |
Public Member Functions | |
mutable_buffers_1 (void *data, std::size_t size) | |
Construct to represent a given memory range. More... | |
mutable_buffers_1 (const mutable_buffer &b) | |
Construct to represent a single modifiable buffer. More... | |
const_iterator | begin () const |
Get a random-access iterator to the first element. More... | |
const_iterator | end () const |
Get a random-access iterator for one past the last element. More... | |
Related Functions | |
(Note that these are not member functions.) | |
mutable_buffer | operator+ (const mutable_buffer &b, std::size_t start) |
Create a new modifiable buffer that is offset from the start of another. More... | |
mutable_buffer | operator+ (std::size_t start, const mutable_buffer &b) |
Create a new modifiable buffer that is offset from the start of another. More... | |
Adapts a single modifiable buffer so that it meets the requirements of the MutableBufferSequence concept.
typedef const mutable_buffer* boost::asio::mutable_buffers_1::const_iterator |
A random-access iterator type that may be used to read elements.
The type for each element in the list of buffers.
|
inline |
Construct to represent a given memory range.
|
inlineexplicit |
Construct to represent a single modifiable buffer.
|
inline |
Get a random-access iterator to the first element.
Referenced by end().
|
inline |
Get a random-access iterator for one past the last element.
References begin().
|
related |
Create a new modifiable buffer that is offset from the start of another.
References boost::asio::b, boost::asio::buffer_cast(), and boost::asio::buffer_size().
|
related |
Create a new modifiable buffer that is offset from the start of another.
References boost::asio::b, boost::asio::buffer_cast(), and boost::asio::buffer_size().