string WriteFileData(string filePath, string bytes, bool append)

Writes bytes to a file.

Security

Trust Level Required: Full Trust

Parameters

Name Description
filePath The path to the file to write.
bytes A JSON encoded int[].
append True to append to the end of the file, false to overwrite the file.

Return

A JSON string where Bool indicates if the function succeeded and Str is an error message on failure.