Class CountingInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
de.undercouch.bson4jackson.io.CountingInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class CountingInputStream extends FilterInputStream
Reads from another input stream, but counts the number of bytes read or skipped (i.e. saves the current buffer position).