---
title: "writeAsyncTrap(_:length:refcon:)"
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: "iobluetooth/iobluetoothl2capchannel/writeasynctrap(_:length:refcon:)"
---

# writeAsyncTrap(_:length:refcon:)

## Declaration

```swift
func writeAsyncTrap(_ data: UnsafeMutableRawPointer!, length: UInt16, refcon: UnsafeMutableRawPointer!) -> IOReturn
```
