Skip to content

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

ClassDescription
DatagramA UDP datagram pairing a payload with a remote address.
DatagramSocketA bound UDP socket for sending and receiving datagrams.
FileHandleA low-level handle to an open file, providing random-access read and write operations.
FilesPure, effectful filesystem operations.
FlagsA set of Flag values that control how a file is opened.
NetworkPure, effectful networking operations for TCP and UDP communication.
ServerSocketA server socket that listens for incoming TCP connections.
SocketA connected TCP socket, providing bidirectional byte-stream I/O.
WatcherCreatedEventEmitted when a new file or directory is created at path.
WatcherDeletedEventEmitted when a file or directory at path is deleted.
WatcherEventBase class for filesystem change notifications emitted by Files.watch.
WatcherModifiedEventEmitted when a file or directory at path is modified.
WatcherMovedEventEmitted when a file or directory at path is moved or renamed.

Enums

EnumDescription
Flag
WatcherEventTypeThe kind of filesystem change that triggered a WatcherEvent.

Extension Types

Extension TypeDescription
PathA cross-platform filesystem path.
ReadCursorAn immutable cursor for reading bytes from a FileHandle at a tracked offset.
WriteCursorAn immutable cursor for writing bytes to a FileHandle at a tracked offset.