---
title: DispatchDataIterator
framework: dispatch
role: symbol
role_heading: Structure
path: dispatch/dispatchdataiterator
---

# DispatchDataIterator

A byte-by-byte iterator over the contents of a dispatch data object.

## Declaration

```swift
struct DispatchDataIterator
```

## Topics

### Iterating Over a Sequence’s Elements

- [next()](dispatch/dispatchdataiterator/next().md)

## Relationships

### Conforms To

- [IteratorProtocol](swift/iteratorprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [Sequence](swift/sequence.md)

## See Also

### System Event Monitoring

- [DispatchSource](dispatch/dispatchsource.md)
- [Dispatch Source](dispatch/dispatch-source.md)
- [DispatchIO](dispatch/dispatchio.md)
- [DispatchData](dispatch/dispatchdata.md)
- [Dispatch I/O](dispatch/dispatch-i-o.md)
- [Dispatch Data](dispatch/dispatch-data.md)
- [DispatchSourceProtocol](dispatch/dispatchsourceprotocol.md)
