| Parameter | Description |
|---|---|
| pos | Index at which to start searching. |
| numBits | Number of contiguous 0 bits to look for. |
int
The index in this array where the sequence is found. The index will be greater than or equal to pos.
Returns -1 if no occurrence is found.
Finds the first length-"N" contiguous sequence of 0 bits in this bit array.
| Parameter | Description |
|---|---|
| pos | Index at which to start searching. |
| numBits | Number of contiguous 0 bits to look for. |
| count | Number of bits to search. |
int
The index in this array where the sequence is found. The index will be greater than or equal to pos but less than pos + count.
Returns -1 if no occurrence is found.
Finds the first length-"N" contiguous sequence of 0 bits in this bit array. Searches only a subsection.