Stream, File & Network IO

Note
This is not necessarily part of the core language. I’m just thinking about what a good API might look like.

Global IO functions

TextStream

For input / output of text.

Writing

Reading

ByteStream

For input / output of binary data.

Writing

Reading

File IO

File, derived from ByteStream.

Network IO

Class Hierarchy