文档

Unity Engine

Download Unity

Unity Engine

GetUnsafeReadOnlyPtr(ref DataStreamReader)

Get a pointer to the stream's data. Note that the pointer always points at the beginning of the data, no matter how much was read from the stream.
阅读时间1 分钟最后更新于 1 个月前

Definition

GetUnsafeReadOnlyPtr(DataStreamReader)

public static void* GetUnsafeReadOnlyPtr(this ref DataStreamReader reader)

Parameters

Data stream reader.

Returns

Type

Description

void*A pointer to the stream's data.

Remarks

Performs a job safety check for read-only access.