Documentation

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.
Read time 1 minuteLast updated a month ago

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.