---
title: "readBytes(_:strideBytes:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpsndarray/readbytes(_:stridebytes:)"
---

# readBytes(_:strideBytes:)

## Declaration

```swift
func readBytes(_ buffer: UnsafeMutableRawPointer, strideBytes strideBytesPerDimension: UnsafeMutablePointer<Int>?)
```
