Package org.apache.derby.client.net
Class PublicBufferOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.ByteArrayOutputStream
-
- org.apache.derby.client.net.PublicBufferOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
class PublicBufferOutputStream extends java.io.ByteArrayOutputStream
A ByteArrayOutputStream which gives a direct reference of the buffer array
-
-
Constructor Summary
Constructors Constructor Description PublicBufferOutputStream()
PublicBufferOutputStream(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBuffer()
Get a reference to the buffer array stored in the byte array output stream
-