Class CountingInputStream

All Implemented Interfaces:
Closeable, AutoCloseable

public class CountingInputStream extends WrappedInputStream
A wrapper around an InputStream that counts the number of read bytes.
Author:
Philip Helger
  • Constructor Details

    • CountingInputStream

      public CountingInputStream(@NonNull InputStream aSourceIS)
      Constructor wrapping the given input stream.
      Parameters:
      aSourceIS - The input stream to be wrapped. May not be null.
  • Method Details