Diffusion .NET API  5.9.24
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Data.IBinaryDelta Interface Reference

Represents a binary delta type. More...

Inherited by PushTechnology.ClientInterface.Data.Binary.IInternalBinaryDelta.

Properties

bool HasChanges [get]
 Returns true if the two values used to create this instance are different. Otherwise false. More...
 
int Length [get]
 Returns the number of bytes required to serialize the delta. More...
 

Detailed Description

Represents a binary delta type.

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

Property Documentation

bool PushTechnology.ClientInterface.Data.IBinaryDelta.HasChanges
get

Returns true if the two values used to create this instance are different. Otherwise false.

It is equivalent to

!IDeltaType.NoChange.Equals(this)

.

int PushTechnology.ClientInterface.Data.IBinaryDelta.Length
get

Returns the number of bytes required to serialize the delta.


The documentation for this interface was generated from the following file: