public class ExtByteArrayOutputStream
extends java.io.ByteArrayOutputStream
| Constructor and Description |
|---|
ExtByteArrayOutputStream()
Creates a new ExtByteArrayOutputStream.
|
ExtByteArrayOutputStream(int size)
Creates a new ExtByreArrayOutputStream for the given buffer size.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.ByteArrayInputStream |
getInputStream()
Gets a ByteArrayInputStream from which to read the data
of the internal buffer.
|
byte[] |
getInternalByteArray()
Gets the internal byte buffer (without copying the content).
|
public ExtByteArrayOutputStream()
public ExtByteArrayOutputStream(int size)
size - the size of the internal bufferpublic byte[] getInternalByteArray()
public java.io.ByteArrayInputStream getInputStream()