borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.io
java.lang.Object +----java.io.OutputStream +----java.io.FilterOutputStream +----borland.jbcl.io.FastBufferedOutputStream
Variables Constructors Properties Methods
An unsynchronized buffered output stream to read out characters from a stream without causing a read every time.
protected byte[] bufThe buffer where data is stored.
protected int countThe number of bytes in the buffer.
public FastBufferedOutputStream(java.io.OutputStream out)Creates a new buffered stream with a default buffer size.
Parameters:
public FastBufferedOutputStream(java.io.OutputStream out, int size)Creates a new buffered stream with the specified buffer size.
Parameters:
public void flush()Flushes the stream. This will write any buffered output bytes.
This method throws an IOException if an I/O error occurrs.
Overrides: java.io.FilterOutputStream.flush()
public void write(byte[] b, int off, int len)Writes a subarray of bytes. This method throws an IOException if an I/O error occurrs.
Parameters:
Overrides: java.io.FilterOutputStream.write(byte[], int, int)
public void write(int b)Writes a byte. This method will block until the byte is actually written.
This method throws an IOException if an I/O error occurrs.
Parameters:
Overrides: java.io.FilterOutputStream.write(int)