isEqualTo
Compares the data with an OSData
Declaration
bool isEqualTo(const OSData *aDataObj);virtual bool isEqualTo(const OSData *aDataObj);Parameters
- aDataObj:
The OSData to compare with.
Return Value
true iff the object is of class OSArray and isEqualTo(const OSArray * anArray) returns true.
Discussion
If the passed OSData object has the same length and all bytes are identical, true is returned. Otherwise false is returned.