Method WritePackedULongDelta
WritePackedULongDelta(ulong, ulong, NetworkCompressionModel)
Writes a delta 8-byte unsigned long value to the data stream using a NetworkCompressionModel. Note that the unsigned long values are cast to a signed long after computing the diff.
Declaration
public bool WritePackedULongDelta(ulong value, ulong baseline, NetworkCompressionModel model)
Parameters
Type | Name | Description |
---|---|---|
ulong | value | The current 8-byte unsigned long value. |
ulong | baseline | The previous 8-byte unsigned long, used to compute the diff. |
NetworkCompressionModel | model | NetworkCompressionModel model for writing value in a packed manner. |
Returns
Type | Description |
---|---|
bool | Whether the write was successful |