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


Constructor Index

 o iBusByteArrayOutputStream()
 o iBusByteArrayOutputStream(int)
create a iBusByteArrayOutputStream pre-allocated to a given size.

Method Index

 o getBuf()
Returns the input data without copying it.

Constructors

 o iBusByteArrayOutputStream
 public iBusByteArrayOutputStream()
 o iBusByteArrayOutputStream
 public iBusByteArrayOutputStream(int size)
create a iBusByteArrayOutputStream pre-allocated to a given size.

Parameters:
size - the number of bytes to preallocate

Methods

 o getBuf
 public byte[] getBuf()
Returns the input data without copying it.

Returns:
the input data.

All Packages  Class Hierarchy  This Package  Previous  Next  Index