文档

Unity Engine

Unity Engine

ReadUnsafePtr(int)

Returns a pointer to the next position to read from the buffer. Advances the reader some number of bytes.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public byte* ReadUnsafePtr(int size)

Parameters

size

The number of bytes to advance the reader.

Returns

Type

Description

byte*A pointer to the next position to read from the buffer.