InputStreamObject

Input stream implementation that wraps around a primitive input stream.

version(!D_BetterC)
class InputStreamObject : InputStream!E(
S
E = StreamType!S
) if (
isInputStream!(S, E)
) {}

Constructors

this
this(S stream)

Constructs the input stream wrapper with the given base stream.

Members

Functions

closeStream
OptionalStreamError closeStream()
Undocumented in source. Be warned that the author may not have intended to support it.
readFromStream
StreamResult readFromStream(E[] buffer)

Reads up to buffer.length elements from the wrapped input stream, and writes them to buffer.

Meta