Table of Contents

Interface IBinary

Namespace
PushTechnology.ClientInterface.Data.Binary
Assembly
Diffusion.Client.dll

The read-only binary value with support for binary deltas.

public interface IBinary : IBytes
Inherited Members

Remarks

Values are effectively immutable. Instances can be backed by user-supplied byte arrays. Once a Binary has been constructed around an array, care must be taken not to modify the data in the array because doing so would violate immutability.

Since 5.8

Methods

Apply(IBinaryDelta)

Applies a binary delta to this value to create a new value.

IBinary Apply(IBinaryDelta delta)

Parameters

delta IBinaryDelta

The binary delta.

Returns

IBinary

The new binary value.

Remarks

Diff(IBinary)

Compares this value with an earlier version to calculate a binary delta.

IBinaryDelta Diff(IBinary original)

Parameters

original IBinary

The original Binary value to compare with this value.

Returns

IBinaryDelta

The binary delta representing the difference between the original and this Binary.

Remarks

See Also