ReadFlagString Function

Converts a string of flag characters to a bit string.

int ReadFlagString(const char[] flags, int& numchars)

Parameters

const char[] flags

Flag ASCII string.

int& numchars

Optional variable to store the number of bytes read.

Return Value

Bit string of ADMFLAG values.