---
title: "writeAttributeLongOctetString(withValue:params:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustertestcluster/writeattributelongoctetstring(withvalue:params:completionhandler:)"
---

# writeAttributeLongOctetString(withValue:params:completionHandler:)

## Declaration

```swift
func writeAttributeLongOctetString(withValue value: Data, params: MTRWriteParams?, completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func writeAttributeLongOctetString(withValue value: Data, params: MTRWriteParams?) async throws
```
