ReadBytesUnsafe(ref DataStreamReader, byte*, int)
Read and copy data to the memory location pointed to, an error will be logged if the length will put the reader out of bounds on the current read pointer.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
ReadBytesUnsafe(DataStreamReader, byte*, int)
public static void ReadBytesUnsafe(this ref DataStreamReader reader, byte* data, int length)
Parameters
Data stream reader.
Pointer to the data.
Number of bytes to read.