Boost.ASIO

    • Global namespace
    • Reference
  • boost::asio::buffer
arrow_upward

boost::asio::buffer

Create a new modifiable buffer from a span.

Synopsis

Declared in <boost/asio/buffer.hpp>

template<
    template<
    typename,
    size_t> typename Span,
    typename T,
    size_t Extent>
[[nodiscard]]
mutable_buffer
buffer(
    Span<T, Extent> const& span,
    defaulted_constraint = defaulted_constraint(),
    defaulted_constraint = defaulted_constraint(),
    defaulted_constraint = defaulted_constraint()) noexcept;

Return Value

.

Created with MrDocs

Edit this Page