Clementine
|
(Deprecated: Use const_buffer.) Adapts a single non-modifiable buffer so that it meets the requirements of the ConstBufferSequence concept. More...
#include <buffer.hpp>
Public Types | |
typedef const_buffer | value_type |
The type for each element in the list of buffers. | |
typedef const const_buffer * | const_iterator |
A random-access iterator type that may be used to read elements. | |
Public Member Functions | |
const_buffers_1 (const void *data, std::size_t size) ASIO_NOEXCEPT | |
Construct to represent a given memory range. | |
const_buffers_1 (const const_buffer &b) ASIO_NOEXCEPT | |
Construct to represent a single non-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. | |
![]() | |
const_buffer () ASIO_NOEXCEPT | |
Construct an empty buffer. | |
const_buffer (const void *data, std::size_t size) ASIO_NOEXCEPT | |
Construct a buffer to represent a given memory range. | |
const_buffer (const mutable_buffer &b) ASIO_NOEXCEPT | |
Construct a non-modifiable buffer from a modifiable one. | |
const 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. | |
const_buffer & | operator+= (std::size_t n) ASIO_NOEXCEPT |
Move the start of the buffer by the specified number of bytes. | |
Additional Inherited Members | |
![]() | |
const_buffer | operator+ (const const_buffer &b, std::size_t n) ASIO_NOEXCEPT |
Create a new non-modifiable buffer that is offset from the start of another. | |
const_buffer | operator+ (std::size_t n, const const_buffer &b) ASIO_NOEXCEPT |
Create a new non-modifiable buffer that is offset from the start of another. | |
(Deprecated: Use const_buffer.) Adapts a single non-modifiable buffer so that it meets the requirements of the ConstBufferSequence concept.