NullOutputStream

Stream implementation acting as a sink with no function.

Any data written to the stream will be ignored and discarded. This stream type is useful if the output of a particular stream is not needed but the stream needs to be drained.

Members

Aliases

write
alias write = OutputStream.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.
write
size_t write(ubyte[] bytes, IOMode )
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From OutputStream

write
size_t write(ubyte[] bytes, IOMode mode)
void write(ubyte[] bytes)
void write(char[] bytes)

Writes an array of bytes to the stream.

flush
void flush()

Flushes the stream and makes sure that all data is being written to the output device.

finalize
void finalize()

Flushes and finalizes the stream.

Meta