Class CountingInputStream

java.lang.Object
java.io.InputStream
binaryFileStorage.CountingInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class CountingInputStream extends InputStream
Wrapper class for an input stream which counts the number of bytes read, skipped etc. so that a getPos() function can be used to check the total number of bytes now read.
Author:
Doug Gillespie