Function

CFBitVectorFlipBitAtIndex

Flips a bit value in a bit vector.

Declaration

void CFBitVectorFlipBitAtIndex(CFMutableBitVectorRef bv, CFIndex idx);

Parameters

bv

The bit vector to modify.

idx

The index of the bit value to flip. The index must be in the range 0…N-1, where N is the count of the vector.

See Also

Modifying a Bit Vector

CFBitVectorFlipBits

Flips a range of bit values in a bit vector.

CFBitVectorSetAllBits

Sets all bits in a bit vector to a particular value.

CFBitVectorSetBitAtIndex

Sets the value of a particular bit in a bit vector.

CFBitVectorSetBits

Sets a range of bits in a bit vector to a particular value.

CFBitVectorSetCount

Changes the size of a mutable bit vector.