Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

buffer_size

The boost::asio::buffer_size function determines the total number of bytes in a buffer or buffer sequence.

std::size_t buffer_size(
    const mutable_buffer & b);
  » more...

std::size_t buffer_size(
    const mutable_buffers_1 & b);
  » more...

std::size_t buffer_size(
    const const_buffer & b);
  » more...

std::size_t buffer_size(
    const const_buffers_1 & b);
  » more...

template<
    typename BufferSequence>
std::size_t buffer_size(
    const BufferSequence & b);
  » more...
Requirements

Header: boost/asio/buffer.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext