文档

Unity Engine

Download Unity

Unity Engine

ReadBytes(BinaryReader, NativeArray<byte>, int, int)

Reads the specified number of elements from a native byte array.
阅读时间1 分钟最后更新于 19 天前

Definition

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.

count

The number of elements to read.

offset

The offset at which to start reading.