ReadArrayElementBoundsChecked<T>(void*, int, int)
Reads an element from a buffer after bounds checking.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public static T ReadArrayElementBoundsChecked<T>(void* source, int index, int capacity) where T : unmanaged
Parameters
Returns
Type | Description |
|---|---|
| T | The element read from the buffer. |