isEqualTo(const OSMetaClassBase *)
Tests the equality of an OSData object to an arbitrary object.
Declaration
virtual bool isEqualTo(
const OSMetaClassBase *anObject) const;Parameters
- anObject:
The object to be compared against the receiver.
Return Value
true if the two objects are equivalent, false otherwise.
Overview
An OSData is considered equal to another object if that object is derived from OSData and contains the equivalent bytes of the same length.
See Also
Miscellaneous
appendByteappendBytes(const OSData *)appendBytes(const void *, unsigned int)ensureCapacityfreegetBytesNoCopy()getBytesNoCopy(unsigned int, unsigned int)getCapacitygetCapacityIncrementgetLengthinitWithBytesinitWithBytesNoCopyinitWithCapacityinitWithData(const OSData *)initWithData(const OSData *, unsigned int, unsigned int)isEqualTo(const OSData *)isEqualTo(const OSString *)isEqualTo(const void *, unsigned int)serializesetCapacityIncrementwithByteswithBytesNoCopywithCapacitywithData(const OSData *)withData(const OSData *, unsigned int, unsigned int)