Contents

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