/**@class java.io.BufferedOutputStream @extends java.io.FilterOutputStream The class implements a buffered output stream. By setting up such an output stream, an application can write bytes to the underlying output stream without necessarily causing a call to the underlying system for each byte written. @author Arthur van Hoff @since JDK1.0 */ var BufferedOutputStream = { /**Writes the specified byte to this buffered output stream. @param {Number} b the byte to be written. @exception IOException if an I/O error occurs. */ write : function( ) {}, /**Writes <code>len</code> bytes from the specified byte array starting at offset <code>off</code> to this buffered output stream. <p> Ordinarily this method stores bytes from the given array into this stream's buffer, flushing the buffer to the underlying output stream as needed. If the requested length is at least as large as this stream's buffer, however, then this method will flush the buffer and write the bytes directly to the underlying output stream. Thus redundant <code>BufferedOutputStream</code>s will not copy data unnecessarily. @param {Object {byte[]}} b the data. @param {Number} off the start offset in the data. @param {Number} len the number of bytes to write. @exception IOException if an I/O error occurs. */ write : function( ) {}, /**Flushes this buffered output stream. This forces any buffered output bytes to be written out to the underlying output stream. @exception IOException if an I/O error occurs. @see java.io.FilterOutputStream#out */ flush : function( ) {}, };