1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-16 15:24:10 +02:00

Corlib helper methods

This commit is contained in:
Brian Fiete 2022-08-26 15:42:35 -07:00
parent 6eddf12948
commit 74b73e5dc8
5 changed files with 116 additions and 2 deletions

View file

@ -2634,6 +2634,18 @@ namespace System
}
}
public static bool Equals(char8* str1, char8* str2, int length)
{
for (int i < length)
{
char8 c = str1[i];
char8 c2 = str2[i];
if (c != c2)
return false;
}
return true;
}
public RawEnumerator RawChars
{
[Inline]