Contents

isEqualTo(const void *, unsigned int)

Tests the equality of an OSData object's contents to a C array of bytes.

Declaration

virtual bool isEqualTo( 
 const void *bytes, 
 unsigned intnumBytes) const;

Parameters

  • bytes:

    A pointer to the bytes to compare.

  • numBytes:

    The number of bytes to compare.

Return Value

true if the data buffers are equal over the given length, false otherwise.

See Also

Miscellaneous