write
Writes the specified byte to this buffered output stream.
Since
0.1.0
Parameters
the byte to be written.
Throws
if an I/O error occurs.
Writes b.length
bytes from the specified byte array to this buffered output stream.
Since
0.1.0
Parameters
the data.
Throws
if an I/O error occurs.
Writes len
bytes from the specified byte array starting at offset off
to this buffered output stream.
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 BufferedOutputStream
s will not copy data unnecessarily.
Since
0.1.0
Parameters
the data.
the start offset in the data.
the number of bytes to write.