Class 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.

Inherits from

Methods

Name Description
write
write
flush
finalize
write [inherited] Writes an array of chars to the stream.
put [inherited] These methods provide an output range interface.

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

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