Class ByteCountOutputStream

  • All Implemented Interfaces:
    NoClose, Closeable, Flushable, AutoCloseable

    public class ByteCountOutputStream
    extends FilterOutputStream
    implements NoClose
    Wraps an OutputStream to count the number of bytes transferred. The counter is not synchronized. Any necessary synchronization should be externally applied.
    Author:
    AO Industries, Inc.