Clementine
|
(Deprecated: Use mutable_buffer.) 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. | |
typedef const mutable_buffer * | const_iterator |
A random-access iterator type that may be used to read elements. | |
Public Member Functions | |
mutable_buffers_1 (void *data, std::size_t size) ASIO_NOEXCEPT | |
Construct to represent a given memory range. | |
mutable_buffers_1 (const mutable_buffer &b) ASIO_NOEXCEPT | |
Construct to represent a single modifiable buffer. | |
const_iterator | begin () const ASIO_NOEXCEPT |
Get a random-access iterator to the first element. | |
const_iterator | end () const ASIO_NOEXCEPT |
Get a random-access iterator for one past the last element. | |
![]() | |
mutable_buffer () ASIO_NOEXCEPT | |
Construct an empty buffer. | |
mutable_buffer (void *data, std::size_t size) ASIO_NOEXCEPT | |
Construct a buffer to represent a given memory range. | |
void * | data () const ASIO_NOEXCEPT |
Get a pointer to the beginning of the memory range. | |
std::size_t | size () const ASIO_NOEXCEPT |
Get the size of the memory range. | |
mutable_buffer & | operator+= (std::size_t n) ASIO_NOEXCEPT |
Move the start of the buffer by the specified number of bytes. | |
Additional Inherited Members | |
![]() | |
mutable_buffer | operator+ (const mutable_buffer &b, std::size_t n) ASIO_NOEXCEPT |
Create a new modifiable buffer that is offset from the start of another. | |
mutable_buffer | operator+ (std::size_t n, const mutable_buffer &b) ASIO_NOEXCEPT |
Create a new modifiable buffer that is offset from the start of another. | |
(Deprecated: Use mutable_buffer.) Adapts a single modifiable buffer so that it meets the requirements of the MutableBufferSequence concept.