Function

CFBitVectorSetCount

Changes the size of a mutable bit vector.

Declaration

void CFBitVectorSetCount(CFMutableBitVectorRef bv, CFIndex count);

Parameters

bv

The bit vector to modify.

count

The new size for bv. If count is greater than the current size of bv, the additional bit values are set to 0.

Discussion

If bv was created with a fixed capacity, you cannot increase its size beyond that capacity.

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.

CFBitVectorSetBits

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