Method Find
Find(int, int)
Finds the first length-N contiguous sequence of 0 bits in this bit array.
Declaration
public int Find(int pos, int numBits)
Parameters
| Type | Name | Description |
|---|---|---|
| int | pos | Index at which to start searching. |
| int | numBits | Number of contiguous 0 bits to look for. |
Returns
| Type | Description |
|---|---|
| int | The index in this array where the sequence is found. The index will be greater than or equal to |
Find(int, int, int)
Finds the first length-N contiguous sequence of 0 bits in this bit array. Searches only a subsection.
Declaration
public int Find(int pos, int count, int numBits)
Parameters
| Type | Name | Description |
|---|---|---|
| int | pos | Index at which to start searching. |
| int | count | Number of bits to search. |
| int | numBits | Number of contiguous 0 bits to look for. |
Returns
| Type | Description |
|---|---|
| int | The index in this array where the sequence is found. The index will be greater than or equal to |