Defined in header
template< class BufferSequence> std::size_t buffer_bytes( BufferSequence const& buffers);
This function returns the total number of bytes in a buffer, buffer sequence, or object convertible to a buffer. Specifically it may be passed:
This function is designed as an easier-to-use replacement for
It recognizes customization points found through argument-dependent lookup.
beast::buffer_bytes(b) is equivalent
using namespace net; buffer_bytes(b);
In addition this handles types which are convertible to
these are not handled by
The buffer or buffer sequence to calculate the size of.
The total number of bytes in the buffer or sequence.