vibe.d beta banner
get vibe.d
0.7.30

Module vibe.stream.counting

Wrapper streams which count the number of bytes or limit the stream based on the number of transferred bytes.

Classes

Name Description
CountingInputStream Wraps an existing input stream, counting the bytes that are written.
CountingOutputStream Wraps an existing output stream, counting the bytes that are written.
EndCallbackInputStream Wraps an input stream and calls the given delegate once the stream is empty.
LimitedInputStream Wraps an existing stream, limiting the amount of data that can be read.
LimitException
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.