Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WritePackedUInt(uint, in StreamCompressionModel)

Writes a 4-byte unsigned integer value to the data stream using a StreamCompressionModel.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

WritePackedUInt(uint, StreamCompressionModel)

public bool WritePackedUInt(uint value, in StreamCompressionModel model)

Parameters

value

The 4-byte unsigned integer to write.

StreamCompressionModel model for writing value in a packed manner.

Returns

Type

Description

boolWhether the write was successful