Class SizeCountingInputStream

java.lang.Object
java.io.InputStream
org.jgroups.util.SizeCountingInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class SizeCountingInputStream extends InputStream
Wraps another input stream and counts the bytes it reads from it. Contrary to SizeCountingOutputStream, this class delegates reads to the wrapped inputstream.
Since:
5.5.3
Author:
Bela Ban