WriteFileString Function

Writes a binary string to a file.

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

Parameters

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.

Errors

Invalid Handle.