Modifier and Type | Field and Description |
---|---|
protected java.io.ByteArrayOutputStream |
bos |
Constructor and Description |
---|
ByteArrayDataSink() |
Modifier and Type | Method and Description |
---|---|
java.io.OutputStream |
createOutputStream()
Creates an output stream to receive the data
|
byte[] |
getData()
Returns the output data
|
public java.io.OutputStream createOutputStream()
DataSink
createOutputStream
in interface DataSink
public byte[] getData()