mirror of
https://github.com/apple/swift-nio
synced 2026-11-26 04:57:49 +00:00
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
510 B
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:)