---
title: FSWriteFileResult
framework: fskit
role: symbol
role_heading: Class
path: fskit/fswritefileresult
---

# FSWriteFileResult

The result of a read-file call.

## Declaration

```swift
class FSWriteFileResult
```

## Overview

Overview Use this type in your implementation of write(contents:to:at:replyHandler:).

## Topics

### Creating a write-file result

- [init(bytesWritten:itemAttributes:freeSpace:)](fskit/fswritefileresult/init(byteswritten:itemattributes:freespace:).md)
- [FSItem.Attributes](fskit/fsitem/attributes.md)
- [FSFreeSpace](fskit/fsfreespace.md)

## Relationships

### Inherits From

- [FSVolumeHandlerResult](fskit/fsvolumehandlerresult.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Reading and writing

- [read(from:at:length:into:replyHandler:)](fskit/fsvolume/readwritehandler/read(from:at:length:into:replyhandler:).md)
- [FSMutableFileDataBuffer](fskit/fsmutablefiledatabuffer.md)
- [FSReadFileResult](fskit/fsreadfileresult.md)
- [write(contents:to:at:replyHandler:)](fskit/fsvolume/readwritehandler/write(contents:to:at:replyhandler:).md)
