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

# enumerateBytes(block:)

## Declaration

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