<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSReadFileResult",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(cs)FSReadFileResult"
  },
  "title" : "FSReadFileResult"
}
-->

# FSReadFileResult

The result of a read-file call.

```
class FSReadFileResult
```

## Overview

Use this type in your implementation of [`read(from:at:length:into:replyHandler:)`](/documentation/FSKit/FSVolume/ReadWriteHandler/read(from:at:length:into:replyHandler:)).

## Topics

### Creating a read-file result

[`init?(bytesRead: Int, itemAttributes: FSItem.Attributes)`](/documentation/FSKit/FSReadFileResult/init(bytesRead:itemAttributes:))

Creates a result for a file-reading operation.

[`class Attributes`](/documentation/FSKit/FSItem/Attributes)

Attributes of an item, such as size, creation and modification times, and user and group identifiers.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

### Inherits From

[`FSVolumeHandlerResult`](/documentation/FSKit/FSVolumeHandlerResult)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)