Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ReadByte()

Reads an unsigned byte from the current stream and advances the current position of the stream by one byte.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public byte ReadByte()

Returns

Type

Description

byteThe next byte read from the current stream, or 0 if the end of the stream has been reached.