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