Beast Logo

PrevUpHomeNext

prepare_buffer

Return a shortened buffer.

boost::asio::const_buffer
prepare_buffer(
    std::size_t n,
    boost::asio::const_buffer buffer);


boost::asio::mutable_buffer
prepare_buffer(
    std::size_t n,
    boost::asio::mutable_buffer buffer);
Requirements

Header: beast/core/prepare_buffer.hpp

Convenience header: beast/core.hpp


PrevUpHomeNext