...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A buffer sequence adaptor that shortens the sequence size.
Defined in header <boost/beast/core/buffers_prefix.hpp>
template< class BufferSequence> class buffers_prefix_view
Name |
Description |
---|---|
A bidirectional iterator type that may be used to read elements. |
|
The type for each element in the list of buffers. |
Name |
Description |
---|---|
Returns an iterator to the first buffer in the sequence. |
|
buffers_prefix_view [constructor] |
Copy Constructor. |
Returns an iterator to one past the last buffer in the sequence. |
|
Copy Assignment. |
The class adapts a buffer sequence to efficiently represent a shorter subset of the original list of buffers starting with the first byte of the original sequence.
Type |
Description |
---|---|
|
The buffer sequence to adapt. |