Allows to check if both strings provided are equal on its initial size bytes.
This function is more efficient than common memcmp because it doesn't perform the additional work to figure out which are the bytes that differ both strings.
- Parameters:
-
| string | The string to check. |
| string2 | The second string to check. |
| size | The size to check for both strings to be equal. |
- Returns:
- true if the both strings are equal for its initial size bytes or false if not.