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, writeTo
flush, write
public DirectAccessByteArrayOutputStream(int initialSize)
public byte[] toByteArray()
toByteArray
in class ByteArrayOutputStream
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.