Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WriteUShort(ushort)

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

Definition

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

Parameters

value

The 2-byte unsigned short to write.

Returns

Type

Description

boolWhether the write was successful