| Home | Libraries | People | FAQ | More

### const_buffers_1

Adapts a single non-modifiable buffer so that it meets the requirements of the ConstBufferSequence concept.

    class const_buffers_1 :
      public const_buffer

##### Types

Name | Description
--- | ---
const_iterator | A random-access iterator type that may be used to read elements.
value_type | The type for each element in the list of buffers.

##### Member Functions

Name | Description
--- | ---
begin | Get a random-access iterator to the first element.
const_buffers_1 | Construct to represent a given memory range. Construct to represent a single non-modifiable buffer.
end | Get a random-access iterator for one past the last element.

##### Related Functions

Name | Description
--- | ---
buffer_cast | Cast a non-modifiable buffer to a specified pointer to POD type.
buffer_size | Get the number of bytes in a non-modifiable buffer.
operator+ | Create a new non-modifiable buffer that is offset from the start of another.

##### Requirements

Header: `boost/asio/buffer.hpp`

Convenience header: `boost/asio.hpp`