---
title: "writeAttributeBitmap8(withValue:params:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterunittesting/writeattributebitmap8(withvalue:params:completion:)"
---

# writeAttributeBitmap8(withValue:params:completion:)

## Declaration

```swift
func writeAttributeBitmap8(withValue value: NSNumber, params: MTRWriteParams?, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func writeAttributeBitmap8(withValue value: NSNumber, params: MTRWriteParams?) async throws
```
