SourceSink

A stream that is both a Source and a Sink.

interface SourceSink : Source , Sink

Inherited Members

From Source

read
size_t read(ubyte[] buf)

Reads data into the specified buffer. The number of bytes read is returned.

From Sink

write
size_t write(ubyte[] data)
put
alias put = write

Writes data to the stream. The number of bytes successfully written is returned.

Meta