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

# writeBytes(_:strideBytes:)

## Declaration

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