isEqualTo(const OSData *)
Tests the equality of two OSData objects.
Declaration
virtual bool isEqualTo(
const OSData *aDataObj) const;Parameters
- aDataObj:
The OSData object being compared against the receiver.
Return Value
true if the two OSData objects are equivalent, false otherwise.
Overview
Two OSData objects are considered equal if they have same length and if their byte buffers hold the same contents.
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 OSMetaClassBase *)isEqualTo(const OSString *)isEqualTo(const void *, unsigned int)serializesetCapacityIncrementwithByteswithBytesNoCopywithCapacitywithData(const OSData *)withData(const OSData *, unsigned int, unsigned int)