Function nullSink

Returns a NullOutputStream instance.

The instance will only be created on the first request and gets reused for all subsequent calls from the same thread.

Prototype

NullOutputStream nullSink();

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.