ribs_rill_io library

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

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

Flag
A single file-open option. Combine multiple flags using Flags.
WatcherEventType
The kind of filesystem change that triggered a WatcherEvent.

Extension Types

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.