- buffer
- the buffer to write.
- byteOffset
- the index of the first byte in buffer to write.
- byteCount
- the number of bytes from the buffer to write.
Type Reason Java.Lang.IndexOutOfBoundsException if byteCount , byteOffset or byteCount + byteOffset is greater than the size of buffer. Java.IO.IOException if an I/O error occurs while writing to this file.
Writes byteCount bytes from the byte array buffer to this file, starting at the current file pointer and using byteOffset as the first position within buffer to get bytes.