Module vibe.stream.stream

Generic stream interface used by several stream-like classes.

Functions

Function name Description
readAll Reads the complete contents of a stream, optionally limited by max_bytes.
readAllUtf8 Reads the complete contents of a stream, assuming UTF-8 encoding.
readLine Reads and returns a single line from the stream.
readUntil Reads all data of a stream until the specified end marker is detected.

Interfaces

Interface name Description
InputStream Interface for all classes implementing readable streams.
OutputStream Interface for all classes implementing writeable streams.
RandomAccessStream Interface for all streams supporting random access.
Stream Interface for all classes implementing readable and writable streams.

Classes

Class name Description
NullOutputStream Stream implementation acting as a sink with no function.

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.