All Packages Class Hierarchy This Package Previous Next Index
Class iBus.iBusByteArrayOutputStream
java.lang.Object
|
+----java.io.OutputStream
|
+----java.io.ByteArrayOutputStream
|
+----iBus.iBusByteArrayOutputStream
- public class iBusByteArrayOutputStream
- extends ByteArrayOutputStream
iBusByteArrayOutputStream allows to get directly at the
ByteArrayOutputStream.buf array, without copying the data
-
iBusByteArrayOutputStream()
-
-
iBusByteArrayOutputStream(int)
- create a iBusByteArrayOutputStream pre-allocated to a given size.
-
getBuf()
- Returns the input data without copying it.
iBusByteArrayOutputStream
public iBusByteArrayOutputStream()
iBusByteArrayOutputStream
public iBusByteArrayOutputStream(int size)
- create a iBusByteArrayOutputStream pre-allocated to a given size.
- Parameters:
- size - the number of bytes to preallocate
getBuf
public byte[] getBuf()
- Returns the input data without copying it.
- Returns:
- the input data.
All Packages Class Hierarchy This Package Previous Next Index