ProxyStream

Provides a way to access varying streams using a constant stream reference.

Constructors

this
deprecated this(Stream stream)
Undocumented in source.
this
deprecated this(InputStream input, OutputStream output)
Undocumented in source.
this
this(InterfaceProxy!Stream stream, bool dummy)

private

this
this(InterfaceProxy!InputStream input, InterfaceProxy!OutputStream output, bool dummy)

private

Members

Aliases

read
alias read = Stream.read
Undocumented in source.
write
alias write = Stream.write
Undocumented in source.

Functions

finalize
void finalize()
Undocumented in source. Be warned that the author may not have intended to support it.
flush
void flush()
Undocumented in source. Be warned that the author may not have intended to support it.
peek
const(ubyte)[] peek()
Undocumented in source. Be warned that the author may not have intended to support it.
read
size_t read(ubyte[] dst, IOMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
write
size_t write(ubyte[] bytes, IOMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

dataAvailableForRead
bool dataAvailableForRead [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
leastSize
ulong leastSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
underlying
inout(InterfaceProxy!Stream) underlying [@property getter]
InterfaceProxy!Stream underlying [@property setter]
Stream underlying [@property setter]

The stream that is wrapped by this one

Meta