FileWrite
Writes the contents of a string or binary data to a file
Method Signature
Arguments
Argument
Type
Required
Description
Default
file
string
true
The string path of the file - either root relative or absolute
data
any
true
The string or binary byte array of the file content
charset
string
false
The charset encoding ( ignored for binary data )
utf-8
createPath
boolean
false
false
Examples
Related
Last updated