Class ByteCountingOutputStream

java.lang.Object
java.io.OutputStream
com.google.api.client.util.ByteCountingOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

final class ByteCountingOutputStream extends OutputStream
Output stream that throws away any content and only retains the count of bytes written to the stream.
  • Field Details

    • count

      long count
      Number of bytes written.
  • Constructor Details

    • ByteCountingOutputStream

      ByteCountingOutputStream()
  • Method Details