Module
System.IO
module System.IO
Development asynchronous byte/text stream contracts. Existing file providers block internally and are scoped to one runtime invocation.
Byte streams and text streams
InputStream and OutputStream define byte-oriented capabilities; SeekableStream adds optional seeking. File streams and MemoryStream provide concrete storage, while TextReader, TextWriter, StreamReader and StreamWriter layer text operations over streams.
See streams for encoding, bounds, closing and typed failures, and Console for standard streams. System.Storage supplies paths and storage-item lookup separately from open stream operations.
Modules
1 itemTypes
23 items
FileInputStream
A blocking, explicitly closed file read stream. Development API, not included in Preview 9.
FileOutputStream
A blocking, explicitly closed file write stream. Development API, not included in Preview 9. The Flush method is documented in the File streams guide.
FileSystemChange
A physical path within a watched root. The full path is derived from the root and Name.
FileSystemNotification
Physical notifications are hints to re-read state, not a complete filesystem journal.
FileSystemRename
Both paths of a known rename; ordinary changes cannot carry rename-only data.
FileSystemWatcher
Watches a physical directory using the OS provider. Access and callbacks are owner-queue serialized. Dispose explicitly to stop the timer and release the native subscription. No fi…
FileSystemWatcherError
Recoverable watcher setup, transport and notification-loss errors.
InputStream
Asynchronous byte input without requiring synchronous or seek operations.
MemoryStream
Provisional managed byte stream implementing InputStream, OutputStream and SeekableStream with one shared cursor.
OutputStream
Asynchronous complete-range byte output without requiring synchronous or seek operations.
SeekableStream
An optional capability for repositioning a stream by byte offset.
StreamError
Expected file-stream failures represented as typed cases. The error taxonomy is provisional.
StreamReader
Asynchronous buffered text input with explicit stream ownership.
StreamWriter
Asynchronous buffered text output with explicit stream ownership.
SyncInputStream
Optional synchronous byte input; independent of InputStream.
SyncOutputStream
Optional synchronous byte output; independent of OutputStream.
SyncStreamReader
Synchronous buffered text input with explicit stream ownership.
SyncStreamWriter
Synchronous buffered text output with explicit stream ownership.
SyncTextReader
Synchronous decoded text reads sharing one logical cursor.
SyncTextWriter
Synchronous text output without Task wrapping or retaining caller state across suspension.
TextReader
Asynchronous decoded text reads sharing one logical cursor.
TextReadError
An expected text-reading failure.
TextWriter
An asynchronous text output contract independent of its destination.