Function

CFBitVectorSetBits

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

Declaration

void CFBitVectorSetBits(CFMutableBitVectorRef bv, CFRange range, CFBit value);

Parameters

bv

The bit vector to modify.

range

The range of bits to set. The range must not exceed 0…N-1, where N is the count of the vector.

value

The bit value to which to set the range of bits.

See Also

Modifying a Bit Vector

CFBitVectorFlipBitAtIndex

Flips a bit value in 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.

CFBitVectorSetCount

Changes the size of a mutable bit vector.