Contents

isEqualTo

Compares the data with an OSData

Declaration

bool isEqualTo(const OSData *aDataObj) const;

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.

See Also

Comparing Data Objects