@param off
Offset from which to start writing characters
@param len
Number of characters to write
@throws IndexOutOfBoundsException
Implementations should throw this exception
if {@code off} is negative, or {@code len} is negative,
or {@code off + len} is negative or greater than the length
of the given array
Writes a portion of an array of characters.
@param cbuf Array of characters
@param off Offset from which to start writing characters
@param len Number of characters to write
@throws IndexOutOfBoundsException Implementations should throw this exception if {@code off} is negative, or {@code len} is negative, or {@code off + len} is negative or greater than the length of the given array
@throws IOException If an I/O error occurs