bufferthe buffer to write.
TypeReasonJava.IO.IOExceptionif an I/O error occurs while writing to this file.
Writes the entire contents of the byte array buffer to this file, starting at the current file pointer.
[Android Documentation]