- buffer
- the buffer to be written.
- offset
- the start position in buffer from where to get bytes.
- count
- the number of bytes from buffer to write to this stream.
Type Reason Java.IO.IOException if an error occurs while writing to this stream. Java.Lang.IndexOutOfBoundsException if offset or count , or if offset + count is bigger than the length of buffer.
Writes count bytes from the byte array buffer starting at position offset to this stream.