private static bool IsBitSet(byte[] bytes, int bitIndex)
 {
     return(BitFlagsGenerator.IsBitSet(bytes, bitIndex));
 }