Package dev.latvian.mods.klib.io
Class CountingOutputStream
java.lang.Object
java.io.OutputStream
dev.latvian.mods.klib.io.CountingOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream
-
Constructor Details
-
CountingOutputStream
public CountingOutputStream()
-
-
Method Details
-
write
public void write(int value) - Specified by:
writein classOutputStream
-
write
public void write(byte @NotNull [] b) - Overrides:
writein classOutputStream
-
write
public void write(byte @NotNull [] b, int off, int len) - Overrides:
writein classOutputStream
-
getCount
public long getCount()
-