File.WriteString Method

Writes a binary string to a file.

bool WriteString(const char[] buffer, bool term)

Parameters

const char[] buffer

String to write.

bool term

True to append NUL terminator, false otherwise.

Return Value

True on success, false on error.