예제 #1
0
 public static bool IsBitInArraySet(uint[] array, int bitIndex)
 {
     return(IsBitSet(array, BitPosition.GetBitIndex(bitIndex), BitPosition.GetIntIndex(bitIndex)));
 }
예제 #2
0
 /// <summary>
 /// Returns true if the bit with the zero based index "bitIndex" is set.
 /// </summary>
 /// <param name="bitIndex"></param>
 /// <returns></returns>
 public bool IsBitSet(int bitIndex)
 {
     return(IsBitSet(m_internalArray, BitPosition.GetBitIndex(bitIndex), BitPosition.GetIntIndex(bitIndex)));
 }