Class ByteArrayOutputStream2

java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
org.eclipse.jetty.util.ByteArrayOutputStream2
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class ByteArrayOutputStream2 extends ByteArrayOutputStream
ByteArrayOutputStream with public internals
  • Constructor Details

    • ByteArrayOutputStream2

      public ByteArrayOutputStream2()
    • ByteArrayOutputStream2

      public ByteArrayOutputStream2(int size)
  • Method Details

    • getBuf

      public byte[] getBuf()
    • getCount

      public int getCount()
    • setCount

      public void setCount(int count)
    • reset

      public void reset(int minSize)
    • writeUnchecked

      public void writeUnchecked(int b)
    • toString

      public String toString(Charset charset)
      Overrides:
      toString in class ByteArrayOutputStream