- buf
- the buffer to write to the target.
- offset
- the index of the first character in buffer to write.
- count
- the number of characters in buffer to write.
Type Reason Java.Lang.IndexOutOfBoundsException if offset or count , or if offset + count is greater than the length of buf.
Writes count characters from buffer starting at offset to the target.
This writer's error flag is set to true if this writer is closed or an I/O error occurs.