Package i2p.susi.util

Class CountingOutputStream

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class CountingOutputStream extends FilterOutputStream
An OutputStream that counts how many bytes are written and returns the count via getWritten().
Since:
0.9.34