Class ByteCountingInputStream

java.lang.Object
java.io.InputStream
org.duracloud.io.ByteCountingInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class ByteCountingInputStream extends InputStream
An input stream wrapper that tracks the number of bytes that have been read off the underlying stream
Author:
Daniel Bernstein