文档

Unity Engine

Unity Engine

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

ReadBytesUnsafe(DataStreamReader, byte*, int)

public static void ReadBytesUnsafe(this ref DataStreamReader reader, byte* data, int length)

Parameters

Data stream reader.

data

Pointer to the data.

length

Number of bytes to read.