WriteFileBytes Procedure

Creates or overwrites a text file with a list of bytes. Each byte in the file is a number from 0-255 in the list. Use ReadFileBytes to read the contents of a text file back into a list of bytes.
Declaration
sub WriteFileBytes(
filePath as String, bytes as List of Number
)

Parameters

Possible error codes

Example

Code
WriteFileBytes "myfile.dat", [65, 66, 67]
print ReadFileText("myfile.dat")
Output
ABC