---
title: "withUnsafeMutableMIDIPacketPointer(_:)"
framework: coremidi
role: symbol
role_heading: Instance Method
path: "coremidi/midipacket/builder/withunsafemutablemidipacketpointer(_:)"
---

# withUnsafeMutableMIDIPacketPointer(_:)

## Declaration

```swift
func withUnsafeMutableMIDIPacketPointer<Result>(_ body: (inout UnsafeMutableMIDIPacketPointer) -> Result) -> Result
```
