Libraries anvil io File writeBinary

File writeBinary(binary bin)
File writeBinary(binary bin, int offset, int length)
Writes the contents of binary to file.
Parameters bin -  The binary from which the data is written
offset -  The start offset of the data
length -  The number of bytes to write
Throws IOError -  If an I/O error occurs