---
title: "readBlob(key:into:)"
framework: applearchive
role: symbol
role_heading: Instance Method
path: "applearchive/archivestreamprotocol/readblob(key:into:)"
---

# readBlob(key:into:)

Reads the current entry blob data.

## Declaration

```swift
func readBlob(key: ArchiveHeader.FieldKey, into buffer: UnsafeMutableRawBufferPointer) throws
```

## Parameters

- `key`: The blob field key.
- `buffer`: The data buffer that the operation fills with the entry blob data.

## See Also

### Reading and Writing Blobs

- [writeBlob(key:from:)](applearchive/archivestreamprotocol/writeblob(key:from:).md)
