Returns a Boolean value indicating whether this data object is the same as another.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The data object with which to compare the receiver.
true if the contents of
other are equal to the contents of the receiver, otherwise
Two data objects are equal if they hold the same number of bytes, and if the bytes at the same position in the objects are the same.