Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

const_buffers_1

(Deprecated: Use const_buffer.) 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.

data

Get a pointer to the beginning of the memory range.

end

Get a random-access iterator for one past the last element.

operator+=

Move the start of the buffer by the specified number of bytes.

size

Get the size of the memory range.

Related Functions

Name

Description

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


PrevUpHomeNext