Reference | Class Hierarchy | Class Index | Member Index |
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 const_buffer &b) | |
Construct to represent a single non-modifiable buffer. | |
const_iterator | begin () const |
Get a random-access iterator to the first element. | |
const_iterator | end () const |
Get a random-access iterator for one past the last element. | |
Related Functions | |
(Note that these are not member functions.) | |
template<typename PointerToPodType> | |
PointerToPodType | buffer_cast (const const_buffer &b) |
Cast a non-modifiable buffer to a specified pointer to POD type. | |
std::size_t | buffer_size (const const_buffer &b) |
Get the number of bytes in a non-modifiable buffer. | |
const_buffer | operator+ (const const_buffer &b, std::size_t start) |
Create a new non-modifiable buffer that is offset from the start of another. | |
const_buffer | operator+ (std::size_t start, const const_buffer &b) |
Create a new non-modifiable buffer that is offset from the start of another. |
The type for each element in the list of buffers.
typedef const const_buffer* asio::const_buffers_1::const_iterator |
A random-access iterator type that may be used to read elements.
asio::const_buffers_1::const_buffers_1 | ( | const const_buffer & | b | ) | [explicit] |
Construct to represent a single non-modifiable buffer.
const_iterator asio::const_buffers_1::begin | ( | ) | const |
Get a random-access iterator to the first element.
const_iterator asio::const_buffers_1::end | ( | ) | const |
Get a random-access iterator for one past the last element.
PointerToPodType buffer_cast | ( | const const_buffer & | b | ) | [related, inherited] |
Cast a non-modifiable buffer to a specified pointer to POD type.
std::size_t buffer_size | ( | const const_buffer & | b | ) | [related, inherited] |
Get the number of bytes in a non-modifiable buffer.
const_buffer operator+ | ( | const const_buffer & | b, | |
std::size_t | start | |||
) | [related, inherited] |
Create a new non-modifiable buffer that is offset from the start of another.
const_buffer operator+ | ( | std::size_t | start, | |
const const_buffer & | b | |||
) | [related, inherited] |
Create a new non-modifiable buffer that is offset from the start of another.