Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WritePackedUIntDelta(uint, uint, in StreamCompressionModel)

Writes a delta 4-byte unsigned integer value to the data stream using a StreamCompressionModel. Note that the Uint values are cast to an Int after computing the diff.
Read time 1 minuteLast updated 12 days ago

Definition

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

WritePackedUIntDelta(uint, uint, StreamCompressionModel)

public bool WritePackedUIntDelta(uint value, uint baseline, in StreamCompressionModel model)

Parameters

value

The current 4-byte unsigned integer value.

baseline

The previous 4-byte unsigned integer value, used to compute the diff.

StreamCompressionModel model for writing value in a packed manner.

Returns

Type

Description

boolWhether the write was successful