Contents

CFBitVectorGetCountOfBit(_:_:_:)

Counts the number of times a certain bit value occurs within a range of bits in a bit vector.

Declaration

func CFBitVectorGetCountOfBit(_ bv: CFBitVector!, _ range: CFRange, _ value: CFBit) -> CFIndex

Parameters

  • bv:

    The bit vector to examine.

  • range:

    The range of bits in bv to search.

  • value:

    The bit value to count.

Return Value

The number of occurrences of value in the specified range of bv.

See Also

Getting Information About a Bit Vector