Class CountingReader

All Implemented Interfaces:
Closeable, AutoCloseable, Readable

public class CountingReader extends WrappedReader
A wrapper around a Reader that counts the number of read bytes.
Since:
9.3.8
Author:
Philip Helger
  • Constructor Details

    • CountingReader

      public CountingReader(@NonNull Reader aSourceReader)
      Constructor wrapping the given reader.
      Parameters:
      aSourceReader - The reader to be wrapped. May not be null.
  • Method Details