|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.io.OutputStream
|
+--java.io.ByteArrayOutputStream
|
+--nl.justobjects.toolkit.io.DByteArrayOutputStream
DirectByteArrayOutputStream allows to get directly at the ByteArrayOutputStream.buf array, without copying the data
| Fields inherited from class java.io.ByteArrayOutputStream |
buf, count, isClosed |
| Constructor Summary | |
DByteArrayOutputStream()
|
|
DByteArrayOutputStream(int size)
create a DirectByteArrayOutputStream pre-allocated to a given size. |
|
| Method Summary | |
byte[] |
getBuf()
Returns the input data without copying it. |
| Methods inherited from class java.io.ByteArrayOutputStream |
close, ensureOpen, reset, size, toByteArray, toString, toString, toString, write, write, writeTo |
| Methods inherited from class java.io.OutputStream |
flush, write |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public DByteArrayOutputStream()
public DByteArrayOutputStream(int size)
size - the number of bytes to preallocate| Method Detail |
public byte[] getBuf()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||