APIRuntime.IO

Runtime.IO

Shared internal stream conversions for Console and File.

bytes

bytes : Bytes -> Maybe BytesSource

A nonempty byte read, or Nothing for the empty EOF sentinel.

chunk

chunk : IntSource

The largest single byte read: 64 KiB.

line

line : String -> Maybe LineSource

A raw native line, or Nothing for the empty EOF sentinel.