ReadBytes(BinaryReader, NativeArray<byte>, int, int)
Reads the specified number of elements from a native byte array.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Entities.Serialization
- Assembly: UnityEngine.EntitiesModule
public static void ReadBytes(this BinaryReader reader, NativeArray<byte> elements, int count, int offset = 0)
Parameters
The BinaryReader to read from.
The native array to read of.
The number of elements to read.
The offset at which to start reading.