vibe.d beta banner
get vibe.d
0.7.31

Class NullOutputStream

Stream implementation acting as a sink with no function.

class NullOutputStream
  : OutputStream;

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.

Methods

Methods

NameDescription
finalizeFlushes and finalizes the stream.
flushFlushes the stream and makes sure that all data is being written to the output device.
writeWrites an array of bytes to the stream.
writePipes an InputStream directly into this OutputStream.
writeWrites an array of chars to the stream.
writeDefault
Authors

Sönke Ludwig

Copyright

© 2012-2015 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.