Writes an
array
of bytes to this file.
By default, the file will be overwritten if it already exists, but you can control this behavior
with
options
.
Parameters
array
- byte array to write into this file.
options
- options to determine how the file is opened.