boost::asio::const_registered_buffer

Holds a registered buffer over non‐modifiable data.

Synopsis

Declared in <boost/asio/registered_buffer.hpp>

class const_registered_buffer;

Member Functions

Name

Description

const_registered_buffer [constructor]

Constructors

buffer

Get the underlying constant buffer.

data

Get a pointer to the beginning of the memory range.

id

Get the registered buffer identifier.

operator+=

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

size

Get the size of the memory range.

Friends

Name

Description

boost::asio::buffer

Obtain a buffer representing part of a registered buffer.

Non-Member Functions

Name

Description

buffer

Obtain a buffer representing the entire registered buffer.

buffer_sequence_begin

Get an iterator to the first element in a buffer sequence.

buffer_sequence_end

Get an iterator to one past the end element in a buffer sequence.

operator+

Create a new non‐modifiable buffer that is offset from the start of another.

operator+

Create a new non‐modifiable registered buffer that is offset from the start of another.

Description

Satisfies the ConstBufferSequence type requirements.

Created with MrDocs