Interface IBinaryDelta
- Namespace
- PushTechnology.ClientInterface.Data
- Assembly
- Diffusion.Client.dll
The binary delta type.
public interface IBinaryDelta
Remarks
IDataType implementations that support binary deltas by returning a IDeltaType implementation as the result of IDataType.DeltaType(typeof(IBindaryDelta)). Two values of such a data type can be diffed to create a binary delta. The binary delta can later be applied to the first value to calculate the second value.
Since 5.8
Properties
HasChanges
Returns true if the two values used to create this instance are different. Otherwise false.
bool HasChanges { get; }
Property Value
- bool
Whether the two values used to create this instance are different.
Remarks
It is equivalent to !IDeltaType.NoChange.Equals(this).
Length
Returns the number of bytes required to serialize the delta.
int Length { get; }
Property Value
- int
The number of bytes required to serialize the delta.