ByteStream, File & Network IO

ByteStream

For input / output of binary data.

Writing

Reading

File IO

File, derived from ByteStream.

Network & Device IO

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

Class Hierarchy