FlagBitArrayToBits Function

Converts a flag array to a bit string.

int FlagBitArrayToBits(const bool[] array, int maxSize)

Parameters

const bool[] array

Array containing true or false for each AdminFlag.

int maxSize

Maximum size of the flag array.

Return Value

A bit string composed of the array bits.