void
clear() noexcept;
-#ifdef BOOST_BEAST_ALLOW_DEPRECATED
- /// Change the number of readable and writable bytes to zero.
- void
- reset() noexcept
- {
- clear();
- }
-#elif ! BOOST_BEAST_DOXYGEN
- template<std::size_t I = 0>
- void
- reset() noexcept
- {
- static_assert(I != 0,
- BOOST_BEAST_DEPRECATION_STRING);
- }
-#endif
-
//--------------------------------------------------------------------------
/// The ConstBufferSequence used to represent the readable bytes.
using const_buffers_type = net::const_buffer;
-#ifdef BOOST_BEAST_ALLOW_DEPRECATED
- using mutable_data_type = net::mutable_buffer;
-#endif
-
/// The MutableBufferSequence used to represent the writable bytes.
using mutable_buffers_type = net::mutable_buffer;