StreamShim

Wraps a stream to provide useful higher-level functions.

Constructors

this
this(T args)

Forwards arguments to super class.

Postblit

this(this)
this(this)

Copying is disabled. Reference counting should be used instead.

Alias This

stream

Members

Aliases

put
alias put = write
Undocumented in source.

Functions

read
size_t read(T[] buf)

Fills the given buffer with data from the stream.

write
size_t write(T[] buf)

Writes an array of type T to the stream.

Variables

stream
Stream stream;
Undocumented in source.

Meta