Method PrevSetBit
PrevSetBit(Int32)
Returns the index of the last set bit before or on the index specified. -1 is returned if there are no more set bits.
Declaration
public int PrevSetBit(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
System.Int32 |