---
title: "withAAEncodedData(_:)"
framework: applearchive
role: symbol
role_heading: Instance Method
path: "applearchive/archiveheader/entryxatblob/withaaencodeddata(_:)"
---

# withAAEncodedData(_:)

## Declaration

```swift
func withAAEncodedData<R>(_ body: (UnsafeBufferPointer<UInt8>) throws -> R) rethrows -> R
```

## See Also

### Collection Requirements

- [append(_:)](applearchive/archiveheader/entryxatblob/append(_:).md)
- [remove(at:)](applearchive/archiveheader/entryxatblob/remove(at:).md)
- [removeAll()](applearchive/archiveheader/entryxatblob/removeall().md)
