Method WritePackedLongDelta
WritePackedLongDelta(long, long, NetworkCompressionModel)
Writes a delta 8-byte signed long value to the data stream using a NetworkCompressionModel.
Declaration
public bool WritePackedLongDelta(long value, long baseline, NetworkCompressionModel model)
Parameters
Type | Name | Description |
---|---|---|
long | value | The current 8-byte signed long value. |
long | baseline | The previous 8-byte signed long value, 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 |