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:
parent
6eddf12948
commit
74b73e5dc8
5 changed files with 116 additions and 2 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue