---
title: "enumerateBytes(_:)"
framework: dispatch
role: symbol
role_heading: Instance Method
path: "dispatch/dispatchdata/enumeratebytes(_:)"
---

# enumerateBytes(_:)

## Declaration

```swift
func enumerateBytes(_ block: (UnsafeBufferPointer<UInt8>, Int, inout Bool) -> Void)
```

## See Also

### Iterating Over the Buffer Contents

- [makeIterator()](dispatch/dispatchdata/makeiterator().md)
