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

buffers_prefix

Returns a prefix of a constant buffer.

boost::asio::const_buffer
buffers_prefix(
    std::size_t size,
    boost::asio::const_buffer buffer);
  » more...

Returns a prefix of a mutable buffer.

boost::asio::mutable_buffer
buffers_prefix(
    std::size_t size,
    boost::asio::mutable_buffer buffer);
  » more...

Returns a prefix of a buffer sequence.

template<
    class BufferSequence>
buffers_prefix_view< BufferSequence >
buffers_prefix(
    std::size_t size,
    BufferSequence const& buffers);
  » more...

PrevUpHomeNext