---
title: "init(xattrValue:)"
framework: fskit
role: symbol
role_heading: Initializer
path: "fskit/fsgetxattrresult/init(xattrvalue:)"
---

# init(xattrValue:)

Creates a result for an extended-attribute-getting operation.

## Declaration

```swift
init?(xattrValue value: Data)
```

## Parameters

- `value`: The extended attribute value for the requested attribute name.

## Return Value

Return Value A populated result instance, or nil if validation fails.
