write
Writes the specified byte to this file output stream. Implements the write method of OutputStream.
Parameters
b
the byte to be written.
Throws
if an I/O error occurs.
Writes b.length
bytes from the specified byte array to this output stream. The general contract for write(b)
is that it should have exactly the same effect as the call write(b, 0, b.length)
.
Parameters
b
the data.
Throws
if an I/O error occurs.
Writes len bytes from the specified byte array starting at offset off to this file output stream. Implements the write method of OutputStream.
Parameters
b
the data.
off
the start offset in the data.
len
the number of bytes to write.
Throws
if an I/O error occurs.
Writes b.remaining()
bytes from the specified byte array to this output stream.
Parameters
b
the data.
Throws
if an I/O error occurs.