ReadArray<T>(BinaryReader, NativeArray<T>, int)
Reads the specified number of elements from a native array.
Read time 1 minuteLast updated 3 days ago
Definition
- Type: Method
- Namespace: Unity.Entities.Serialization
- Assembly: UnityEngine.EntitiesModule
public static void ReadArray<T>(this BinaryReader reader, NativeArray<T> elements, int count) where T : struct
Parameters
The BinaryReader to read from.
The native array to read of.
The number of elements to read.