ot::Heap::Data::Matches() const method
Compares the `Data` content with the bytes from a given buffer.
Arguments
aBuffer
A pointer to a buffer to compare with the data.
aLength
The length of @p aBuffer.
Return value
TRUE The `Data` content matches the bytes in @p aBuffer. FALSE The `Data` content does not match the byes in @p aBuffer.