Adapt a vector to the DynamicBuffer requirements.
template< typename Elem, typename Allocator> class dynamic_vector_buffer
Name |
Description |
---|---|
The type used to represent the input sequence as a list of buffers. |
|
The type used to represent the output sequence as a list of buffers. |
Name |
Description |
---|---|
Get the current capacity of the dynamic buffer. |
|
Move bytes from the output sequence to the input sequence. |
|
Remove characters from the input sequence. |
|
Get a list of buffers that represents the input sequence. |
|
Construct a dynamic buffer from a string. |
|
Get the maximum size of the dynamic buffer. |
|
Get a list of buffers that represents the output sequence, with the given size. |
|
Get the size of the input sequence. |
Requires that sizeof(Elem) == 1
.
Header: asio/buffer.hpp
Convenience header: asio.hpp