Class CountingInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class CountingInputStream
    extends InputStream
    This input stream keeps track of the current position in an underlying input stream. It assumes that the current position in the underlying stream at construction is 0. The counting input stream does not support mark and reset.