IOStream

The common attributes of streams.

Members

Enums

Anchor
enum Anchor

The anchor positions supported by seek().

Functions

close
void close()

Close the input.

conduit
IConduit conduit()

Return the host conduit.

flush
IOStream flush()

Flush buffered content. For InputStream this is equivalent to clearing buffered content.

seek
long seek(long offset, Anchor anchor)

Move the stream position to the given offset from the provided anchor point, and return adjusted position.

Interfaces

Mutator
interface Mutator

Marks a stream that performs read/write mutation, rather than generic decoration. This is used to identify those stream that should explicitly not share an upstream buffer with downstream siblings.

Static variables

Eof
auto Eof;

The End-of-Flow identifer.

Meta