#include <buffer.hpp>
Public Types | |
typedef const const_buffer * | const_iterator |
A random-access iterator type that may be used to read elements. | |
typedef const_buffer | value_type |
The type for each element in the list of buffers. | |
Public Member Functions | |
const_iterator | begin () const |
Get a random-access iterator to the first element. | |
const_buffers_1 (const void *data, std::size_t size) | |
Construct to represent a given memory range. | |
const_buffers_1 (const const_buffer &b) | |
Construct to represent a single non-modifiable buffer. | |
const_iterator | end () const |
Get a random-access iterator for one past the last element. |
Adapts a single non-modifiable buffer so that it meets the requirements of the ConstBufferSequence concept.
Definition at line 358 of file buffer.hpp.
typedef const const_buffer* asio::const_buffers_1::const_iterator |
A random-access iterator type that may be used to read elements.
Definition at line 366 of file buffer.hpp.
The type for each element in the list of buffers.
Definition at line 363 of file buffer.hpp.
asio::const_buffers_1::const_buffers_1 | ( | const void * | data, |
std::size_t | size | ||
) | [inline] |
Construct to represent a given memory range.
Definition at line 369 of file buffer.hpp.
asio::const_buffers_1::const_buffers_1 | ( | const const_buffer & | b | ) | [inline, explicit] |
Construct to represent a single non-modifiable buffer.
Definition at line 375 of file buffer.hpp.
const_iterator asio::const_buffers_1::begin | ( | ) | const [inline] |
Get a random-access iterator to the first element.
Definition at line 381 of file buffer.hpp.
const_iterator asio::const_buffers_1::end | ( | ) | const [inline] |
Get a random-access iterator for one past the last element.
Definition at line 387 of file buffer.hpp.