Class DirectAccessByteArrayOutputStream
-
- All Implemented Interfaces:
-
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
public class DirectAccessByteArrayOutputStream extends ByteArrayOutputStream
this is a non thread-safe specialization of java ByteArrayOutputStream it returns the internal buffer if its size matches the byte count
-
-
Constructor Summary
Constructors Constructor Description DirectAccessByteArrayOutputStream(int initialSize)
-
Method Summary
Modifier and Type Method Description Array<byte>
toByteArray()
-
-
Method Detail
-
toByteArray
Array<byte> toByteArray()
-
-
-
-