Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WriteShort(short)

Writes a 2-byte signed short to the current stream and advances the stream position by two bytes.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public bool WriteShort(short value)

Parameters

value

The 2-byte signed short to write.

Returns

Type

Description

boolWhether the write was successful