Files
swift-nio/Sources/NIOFS/Docs.docc/Extensions/ReadableFileHandleProtocol.md
T
George Barnett a18bddb0ac Add back NIOFileSystem (#3380)
Motivation:

We accidentally removed the 'NIOFileSystem' module from the
'_NIOFileSystem' product in the last release.

Modifications:

- Rename 'NIOFileSystem' and 'NIOFileSystemFoundationCompat' to 'NIOFS'
  and 'NIOFSFoundationCompat'
- Add back 'NIOFileSystem' which re-exports '_NIOFileSystem' (there was
  no publicly available 'NIOFileSystemFoundationCompat' module to
  remove, only '_NIOFileSystemFoundationCompat').

Result:

Fewer breaks
2025-09-23 17:29:01 +01:00

510 B

NIOFileSystem/ReadableFileHandleProtocol

Topics

Read the contents of a file

  • bufferedReader(startingAtAbsoluteOffset:capacity:)
  • readChunks(chunkLength:)
  • readChunks(in:chunkLength:)
  • readChunks(in:chunkLength:)
  • readChunks(in:chunkLength:)
  • readChunks(in:chunkLength:)
  • readChunks(in:chunkLength:)
  • readChunks(in:chunkLength:)
  • readToEnd(fromAbsoluteOffset:maximumSizeAllowed:)

Read part of a file

  • readChunk(fromAbsoluteOffset:length:)