Documentation

Unity Engine


User Manual

Script Reference

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 12 days 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.