Type for iterating over the bytes in a multibuf.
Multibufs can be thought of as a sequence of "layers", where each layer except the bottommost is comprised of subspans of the layer below it, and the bottommost references the actual memory. This type can be used to iterate over the bytes of the topmost layer of a multibuf. It is distinguished from ChunkIterator
, which iterates over byte spans of the topmost layer.
Public Member Functions | |
constexpr | operator ByteIterator< SizeType, true > () const |
constexpr reference | operator* () const |
constexpr reference | operator[] (difference_type n) const |
constexpr ByteIterator & | operator++ () |
constexpr ByteIterator | operator++ (int) |
constexpr ByteIterator & | operator+= (difference_type n) |
constexpr ByteIterator & | operator-- () |
constexpr ByteIterator | operator-- (int) |
constexpr ByteIterator & | operator-= (difference_type n) |
Friends | |
class | GenericMultiBuf |
class | IteratorTest |
constexpr friend ByteIterator | operator+ (ByteIterator it, difference_type n) |
constexpr friend ByteIterator | operator+ (difference_type n, ByteIterator it) |
constexpr friend ByteIterator | operator- (ByteIterator it, difference_type n) |
constexpr friend difference_type | operator- (const ByteIterator &lhs, const ByteIterator &rhs) |
constexpr friend bool | operator== (const ByteIterator &lhs, const ByteIterator &rhs) |
constexpr friend bool | operator!= (const ByteIterator &lhs, const ByteIterator &rhs) |
constexpr friend bool | operator< (const ByteIterator &lhs, const ByteIterator &rhs) |
constexpr friend bool | operator> (const ByteIterator &lhs, const ByteIterator &rhs) |
constexpr friend bool | operator<= (const ByteIterator &lhs, const ByteIterator &rhs) |
constexpr friend bool | operator>= (const ByteIterator &lhs, const ByteIterator &rhs) |