|  | Home | Libraries | People | FAQ | More | 
Returns a prefix of a mutable buffer.
          Defined in header <boost/beast/core/buffers_prefix.hpp>
        
boost::asio::mutable_buffer buffers_prefix( std::size_t size, boost::asio::mutable_buffer buffer);
The returned buffer points to the same memory as the passed buffer, but with a size that is equal to or less than the size of the original buffer.
| Name | Description | 
|---|---|
| 
                     | The size of the returned buffer. | 
| 
                     | The buffer to shorten. The underlying memory is not modified. | 
          A new buffer that points to the first size
          bytes of the original buffer.
        
          Convenience header <boost/beast/core.hpp>