FlagBitsToArray Function

Converts a bit string to an array of flags.

int FlagBitsToArray(int bits, AdminFlag[] array, int maxSize)

Parameters

int bits

Bit string containing the flags.

AdminFlag[] array

Output array to write flags.

int maxSize

Maximum size of the flag array.

Return Value

Number of flags written.