IOStream

The common attributes of streams.

Members

Enums

Anchor
enum Anchor

The anchor positions supported by seek().

Functions

close
void close()

Close the input.

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.

Manifest constants

Eof
enum Eof;

the End-of-Flow identifer

Properties

conduit
IConduit conduit [@property getter]

Return the host conduit.

Meta