WriteFileString Function

Writes a binary string to a file.

bool WriteFileString(Handle hndl, const char[] buffer, bool term)


Handle hndl

Handle to the file.

const char[] buffer

String to write.

bool term

True to append NUL terminator, false otherwise.

Return Value

True on success, false on error.


Invalid Handle.