Class ByteCountOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

    public class ByteCountOutputStream
    extends FilterOutputStream
    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.