FlagBitsToString
Converts a bit string to a string of flag characters.
stock int FlagBitsToString(const int bits, char[] flags, const int maxSize)
Parameters
const int bits
Bit string containing the flags.
char[] flags
Output array to write a string of flag characters.
const int maxSize
Maximum size of the string array.
Return Value
int Number of flag characters written.