GetBits(int, int)
Returns a ulong which has bits copied from this array.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public ulong GetBits(int pos, int numBits = 1)
Parameters
Returns
Type | Description |
|---|---|
| ulong | A ulong which has bits copied from this array. |
Remarks
The source bits in this array run from index pos up to (but not including) . No exception is thrown if exceeds the length.
pos + numBitspos + numBitsThe first source bit is copied to the lowest bit of the ulong; the second source bit is copied to the second-lowest bit of the ulong; and so forth. Any remaining bits in the ulong will be 0.