Class java.io.ByteArrayOutputStream (1.0)


public class ByteArrayOutputStream extends OutputStream {
  // Public Constructors
    public ByteArrayOutputStream( );
    public ByteArrayOutputStream(int size);
  // Protected Instance Variables
    protected byte[ ] buf;
    protected int count;
  // Public Instance Methods
    public synchronized void reset( );
    public int size( );
    public synchronized byte[ ] toByteArray( );
    public String toString( );  // Overrides Object.toString( )
    public String toString(ByteToCharConverter btc);
    public String toString(int hibyte);  // Deprecated
    public synchronized void write(int b);  // Defines OutputStream.write( )
    public synchronized void write(byte[ ] b, int off, int len);  // Overrides OutputStream.write( )
    public synchronized void writeTo(OutputStream out) throws IOException;
}