Interface IBinaryDelta

The binary delta type.

Namespace: PushTechnology.ClientInterface.Data
Assembly: Diffusion.Client.dll
Syntax
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.

Declaration
bool HasChanges { get; }
Property Value
Type Description
System.Boolean

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.

Declaration
int Length { get; }
Property Value
Type Description
System.Int32

The number of bytes required to serialize the delta.

Back to top