Class SizeCountingOutputStream

java.lang.Object
java.io.OutputStream
org.jgroups.util.SizeCountingOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class SizeCountingOutputStream extends OutputStream
Extends OutputStream but only counts bytes written, doesn't actually write anything. Used to measure size of a marshalled object. Not synchronized.
Since:
5.5.2
Author:
Bela Ban