![]() |
Home | Libraries | People | FAQ | More |
Returns the first buffer in a buffer sequence.
Defined in header <boost/beast/core/buffers_prefix.hpp>
template< class BufferSequence> std::conditional< boost::asio::is_mutable_buffer_sequence< BufferSequence >::value, boost::asio::mutable_buffer, boost::asio::const_buffer >::type buffers_front( BufferSequence const& buffers);
This returns the first buffer in the buffer sequence. If the buffer sequence is an empty range, the returned buffer will have a zero buffer size.
Name |
Description |
---|---|
|
The buffer sequence. If the sequence is mutable, the returned buffer sequence will also be mutable. Otherwise, the returned buffer sequence will be constant. |
Convenience header <boost/beast/core.hpp>