BufferedOutputStream Members

BufferedOutputStream Members

Class Overview | This Package | All Packages

Fields
Name Description
buf The buffer where data is stored.
count The number of valid bytes in the buffer.

Constructors
Name Description
BufferedOutputStream(OutputStream) Creates a new buffered output stream to write data to the specified underlying output stream with a default 512-byte buffer size.
BufferedOutputStream(OutputStream, int) Creates a new buffered output stream to write data to the specified underlying output stream with the specified buffer size.

Methods
Name Description
flush() Flushes this buffered output stream.
write(byte[], int, int) Writes len bytes from the specified byte array starting at offset off to this buffered output stream.
write(int) Writes the specified byte to this buffered output stream.