ribs_rill_io
Purely functional, streaming I/O for Dart.
Provides integration between Dart's dart:io library and ribs_rill, allowing for referentially transparent file and network streaming.
Classes
| Class | Description |
|---|---|
| Datagram | A UDP datagram pairing a payload with a remote address. |
| DatagramSocket | A bound UDP socket for sending and receiving datagrams. |
| FileHandle | A low-level handle to an open file, providing random-access read and write operations. |
| Files | Pure, effectful filesystem operations. |
| Flags | A set of Flag values that control how a file is opened. |
| Network | Pure, effectful networking operations for TCP and UDP communication. |
| ServerSocket | A server socket that listens for incoming TCP connections. |
| Socket | A connected TCP socket, providing bidirectional byte-stream I/O. |
| WatcherCreatedEvent | Emitted when a new file or directory is created at path. |
| WatcherDeletedEvent | Emitted when a file or directory at path is deleted. |
| WatcherEvent | Base class for filesystem change notifications emitted by Files.watch. |
| WatcherModifiedEvent | Emitted when a file or directory at path is modified. |
| WatcherMovedEvent | Emitted when a file or directory at path is moved or renamed. |
Enums
| Enum | Description |
|---|---|
| Flag | |
| WatcherEventType | The kind of filesystem change that triggered a WatcherEvent. |
Extension Types
| Extension Type | Description |
|---|---|
| Path | A cross-platform filesystem path. |
| ReadCursor | An immutable cursor for reading bytes from a FileHandle at a tracked offset. |
| WriteCursor | An immutable cursor for writing bytes to a FileHandle at a tracked offset. |