---
title: "accessUnsafeMutableRawPlaneBytes(_:)"
framework: corevideo
role: symbol
role_heading: Instance Method
path: "corevideo/cvmutablepixelbuffer/accessunsafemutablerawplanebytes(_:)"
---

# accessUnsafeMutableRawPlaneBytes(_:)

Access the pixels in the planes contained within this buffer. The base address is locked for writing during the execution of the block.

## Declaration

```swift
mutating func accessUnsafeMutableRawPlaneBytes<R>(_ block: ([(properties: CVPixelBufferPlaneProperties, bytes: UnsafeMutableRawBufferPointer)]) throws -> sending R) rethrows -> sending R
```
