ByteArrayOutputStream.ByteArrayOutputStream

ByteArrayOutputStream.ByteArrayOutputStream

Class Overview | Class Members | This Package | All Packages

Syntax 1
public ByteArrayOutputStream()
Description
Creates a new byte array output stream. The buffer capacity is initially 32 bytes, though its size increases if necessary.



Syntax 2
public ByteArrayOutputStream( int size )
Parameters
size
the initial size.
Description
Creates a new byte array output stream, with a buffer capacity of the specified size, in bytes.