|
Clementine
|
Adapts basic_streambuf to the dynamic buffer sequence type requirements. More...
#include <basic_streambuf.hpp>
Public Types | |
| typedef basic_streambuf< Allocator >::const_buffers_type | const_buffers_type |
| The type used to represent the input sequence as a list of buffers. | |
| typedef basic_streambuf< Allocator >::mutable_buffers_type | mutable_buffers_type |
| The type used to represent the output sequence as a list of buffers. | |
Public Member Functions | |
| basic_streambuf_ref (basic_streambuf< Allocator > &sb) | |
| Construct a basic_streambuf_ref for the given basic_streambuf object. | |
| basic_streambuf_ref (const basic_streambuf_ref &other) ASIO_NOEXCEPT | |
| Copy construct a basic_streambuf_ref. | |
| std::size_t | size () const ASIO_NOEXCEPT |
| Get the size of the input sequence. | |
| std::size_t | max_size () const ASIO_NOEXCEPT |
| Get the maximum size of the dynamic buffer. | |
| std::size_t | capacity () const ASIO_NOEXCEPT |
| Get the current capacity of the dynamic buffer. | |
| const_buffers_type | data () const ASIO_NOEXCEPT |
| Get a list of buffers that represents the input sequence. | |
| mutable_buffers_type | prepare (std::size_t n) |
| Get a list of buffers that represents the output sequence, with the given size. More... | |
| void | commit (std::size_t n) |
| Move bytes from the output sequence to the input sequence. | |
| void | consume (std::size_t n) |
| Remove characters from the input sequence. | |
Adapts basic_streambuf to the dynamic buffer sequence type requirements.
|
inline |
Get a list of buffers that represents the output sequence, with the given size.
1.8.13