Luna::IStream

Represents a serial stream sequence of bytes and supports read/write operations on them.

interface Luna::IStream : public virtual Interface

Common implementations of streams include file, memory buffer, web socket and so on.

This object is not thread safe and the I/O operations on this object is not asynchronous (will suspend the current thread until the operation is done or failed).

Base type

Member functions