文档

Unity Engine

Unity Engine

WritePackedULongDelta(ulong, ulong, in StreamCompressionModel)

Writes a delta 8-byte unsigned long value to the data stream using a StreamCompressionModel. Note that the unsigned long values are cast to a signed long after computing the diff.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

WritePackedULongDelta(ulong, ulong, StreamCompressionModel)

public bool WritePackedULongDelta(ulong value, ulong baseline, in StreamCompressionModel model)

Parameters

value

The current 8-byte unsigned long value.

baseline

The previous 8-byte unsigned long, used to compute the diff.

StreamCompressionModel model for writing value in a packed manner.

Returns

Type

Description

boolWhether the write was successful