Reads a UTF8 or ANSI string from a file.
int ReadString(char[] buffer, int max_size, int read_count)
Buffer to store the string.
Maximum size of the string buffer.
If -1, reads until a null terminator is encountered in the file. Otherwise, read_count bytes are read into the buffer provided. In this case the buffer is not explicitly null terminated, and the buffer will contain any null terminators read from the file.
Number of characters written to the buffer, or -1 if an error was encountered.
read_count > max_size.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.