Module stream

Provides high level API for reading from a stream.