Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
PTDiffusionBinaryDelta Class Reference

An immutable delta describing the differences between two binary values. More...

#include <PTDiffusionBinaryDelta.h>

Inheritance diagram for PTDiffusionBinaryDelta:

Instance Methods

(BOOL) - isEqualToBinaryDelta:

Properties

BOOL changes

Detailed Description

An immutable delta describing the differences between two binary values.

A diff of two binary values creates a binary delta. The binary delta can later apply to the first value to calculate the second value.

Since
5.9

Method Documentation

◆ isEqualToBinaryDelta:

- (BOOL) isEqualToBinaryDelta: (nullable PTDiffusionBinaryDelta *) binaryDelta

Compares the receiver to the given binary delta.

Parameters
binaryDeltaThe binary delta object with which to compare the receiver.
Returns
YES if the data in binary delta is equal to the contents of the receiver, otherwise NO.
Note
Two binary delta objects are equal if they carry the same information.
Since
5.9

Property Documentation

◆ changes

- (BOOL) changes
readnonatomicassign

Whether the two values used to create this instance are different.

Since
5.9