Find
Returns the index of the first occurrence in this array of "N" contiguous 0 bits.
Read time 1 minuteLast updated 21 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
Find(int, int)
Returns the index of the first occurrence in this array of "N" contiguous 0 bits.
public readonly int Find(int pos, int numBits)
Parameters
Returns
Type | Description |
|---|---|
| int | The index of the first occurrence in this array of |
Remarks
The search is linear.
Find(int, int, int)
Returns the index of the first occurrence in this array of a given number of contiguous 0 bits.
public readonly int Find(int pos, int count, int numBits)
Parameters
Returns
Type | Description |
|---|---|
| int | The index of the first occurrence in this array of |
Remarks
The search is linear.