ot::Data::MatchesBytesIn() const method
Compares the `Data` content with the bytes from a given buffer. It is up to the caller to ensure that @p aBuffer has enough bytes to compare with the current data length.
Syntax
bool MatchesBytesIn(const void *aBuffer) const; Arguments
aBuffer
A pointer to a buffer to compare with the data.
Return value
TRUE The `Data` content matches the bytes in @p aBuffer. FALSE The `Data` content does not match the byes in @p aBuffer.