Class CountingOutputStream

java.lang.Object
java.io.OutputStream
dev.latvian.mods.klib.io.CountingOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class CountingOutputStream extends OutputStream
  • Constructor Details

    • CountingOutputStream

      public CountingOutputStream()
  • Method Details

    • write

      public void write(int value)
      Specified by:
      write in class OutputStream
    • write

      public void write(byte @NotNull [] b)
      Overrides:
      write in class OutputStream
    • write

      public void write(byte @NotNull [] b, int off, int len)
      Overrides:
      write in class OutputStream
    • getCount

      public long getCount()