Class CountingOutputStream

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class CountingOutputStream extends WrappedOutputStream
A wrapper around an OutputStream that counts the number of read bytes.
Author:
Philip Helger
  • Constructor Details

    • CountingOutputStream

      public CountingOutputStream(@NonNull OutputStream aSourceOS)
      Constructor wrapping the given output stream.
      Parameters:
      aSourceOS - The output stream to be wrapped. May not be null.
  • Method Details