Writes a specified number of bytes into this stream from an array starting at a specified position.
public void write( byte[] buffer, int index, int count )
buffer
The byte array to write data from.
index
The starting index in the buffer.
count
The number of bytes to write.
IOException thrown if an I/O error occurs or if the stream does not support writing.
If the write operation is successful, the current position of the stream is advanced by the specified number of bytes.
See Also read