Public class BufferedOutputStream extends FileOutputStream
Constructor | Description |
---|---|
BufferedOutputStream (OutputStream out) | The function of this constructor is to create the buffered output stream and writes to represented stream. |
BufferedOutputStream (OutputStream out, int n ) | The function of this constructor is to create the buffered output stream with represented size of buffer. |
Method | Description |
---|---|
void flush () | The function of this method is to flush the specifed output stream. |
void write (int b) | The function of this method is to write the represented byte into output stream. |
void write (byte[] b, int off, int n) | By using this method it writes the data up to 'n' bytes from the output stream to an array of bytes. |
83