| Home | Libraries | People | FAQ | More

### buffers_iterator

A random access iterator over the bytes in a buffer sequence.

    template<
        typename BufferSequence,
        typename ByteType = char>
    class buffers_iterator

##### Member Functions

Name | Description
--- | ---
begin | Construct an iterator representing the beginning of the buffers' data.
buffers_iterator | Default constructor. Creates an iterator in an undefined state.
end | Construct an iterator representing the end of the buffers' data.
operator * | Dereference an iterator.
operator++ | Increment operator (prefix). Increment operator (postfix).
operator+= | Addition operator.
operator-- | Decrement operator (prefix). Decrement operator (postfix).
operator-= | Subtraction operator.
operator-> | Dereference an iterator.
operator[] | Access an individual element.

##### Friends

Name | Description
--- | ---
operator!= | Test two iterators for inequality.
operator+ | Addition operator.
operator- | Subtraction operator.
operator< | Compare two iterators.
operator<= | Compare two iterators.
operator== | Test two iterators for equality.
operator> | Compare two iterators.
operator>= | Compare two iterators.

##### Requirements

Header: `boost/asio/buffers_iterator.hpp`

Convenience header: `boost/asio.hpp`