Writes a binary variable to a file. For example, binarytext = Binary(text : "Test message to upload as binary.", encoding : "UTF8") // Writes binary information (binarytext) in a file (/tmp/myBinaryFile.bin) binFileLength = BinaryFile.writeFromBinaryTo(data : binarytext, name : "/tmp/myBinaryFile.bin", append : false)
| Name | Type | Description | Mode |
|---|---|---|---|
| data | Binary | data to write in the file. | in |
| name | String | file name. | in |
| append | Bool | write at the end of the file instead of replacing all the existing information. | in |