...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Adapts basic_streambuf
to the dynamic buffer
sequence type requirements.
template< typename Allocator = std::allocator<char>> class basic_streambuf_ref
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 |
---|---|
basic_streambuf_ref [constructor] |
Construct a basic_streambuf_ref for the given basic_streambuf object.
|
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. |
|
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. |
Header: boost/asio/basic_streambuf.hpp
Convenience header: boost/asio.hpp