Class TransparentByteArrayOutputStream

java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
org.jruby.util.io.TransparentByteArrayOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class TransparentByteArrayOutputStream extends ByteArrayOutputStream
A ByteArrayOutputStream that provides access to the contained byte[] buffer.
  • Constructor Details

    • TransparentByteArrayOutputStream

      public TransparentByteArrayOutputStream()
  • Method Details

    • getRawBytes

      public byte[] getRawBytes()