Reads a string from a readable bitbuffer (bf_read).
int BfReadString(Handle bf, char[] buffer, int maxlength, bool line)
bf_read handle to read from.
Destination string buffer.
Maximum length of output string buffer.
If true the buffer will be copied until it reaches a '\n' or a null terminator.
Number of bytes written to the buffer. If the bitbuffer stream overflowed, that is, had no terminator before the end of the stream, then a negative number will be returned equal to the number of characters written to the buffer minus 1. The buffer will be null terminated regardless of the return value.
Invalid or incorrect Handle.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.