Type Alias


A type that provides the collection's iteration interface and encapsulates its iteration state.


typealias DispatchData.Iterator = DispatchDataIterator


By default, a collection conforms to the Sequence protocol by supplying an IndexingIterator as its associated Iterator type.

See Also

Iterating Over the Buffer Contents

func forEach((UInt8) -> Void)

Calls the given closure on each element in the sequence in the same order as a for-in loop.

func enumerated() -> EnumeratedSequence<DispatchData>

Returns a sequence of pairs (n, x), where n represents a consecutive integer starting at zero and x represents an element of the sequence.