public class DirectAccessByteArrayOutputStream extends ByteArrayOutputStream
ByteArrayOutputStream
it returns the internal buffer if its size matches the byte countbuf, count| Constructor and Description |
|---|
DirectAccessByteArrayOutputStream(int initialSize) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
toByteArray() |
close, reset, size, toString, toString, toString, write, write, writeToflush, writepublic DirectAccessByteArrayOutputStream(int initialSize)
public byte[] toByteArray()
toByteArray in class ByteArrayOutputStreamCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.