---
title: "accessUnsafeRawPlaneBytes(_:)"
framework: corevideo
role: symbol
role_heading: Instance Method
path: "corevideo/cvpixelbufferrepresentable/accessunsaferawplanebytes(_:)"
---

# accessUnsafeRawPlaneBytes(_:)

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

## Declaration

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