(Deprecated: Use const_buffer
.) Adapts a single non-modifiable
buffer so that it meets the requirements of the ConstBufferSequence concept.
class const_buffers_1 : public const_buffer
Name |
Description |
---|---|
A random-access iterator type that may be used to read elements. |
|
The type for each element in the list of buffers. |
Name |
Description |
---|---|
Get a random-access iterator to the first element. |
|
const_buffers_1 [constructor] |
Construct to represent a given memory range. |
Get a pointer to the beginning of the memory range. |
|
Get a random-access iterator for one past the last element. |
|
Move the start of the buffer by the specified number of bytes. |
|
Get the size of the memory range. |
Name |
Description |
---|---|
Create a new non-modifiable buffer that is offset from the start of another. |
Header: asio/buffer.hpp
Convenience header: asio.hpp