1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-19 08:30:25 +02:00

Made implicit tuple cast check names, fixed explicit tuple cast

This commit is contained in:
Brian Fiete 2020-01-24 10:36:22 -08:00
parent 1f77412536
commit fd64aa64d9
12 changed files with 92 additions and 87 deletions

View file

@ -44,7 +44,7 @@ namespace System.Text
return UTF8.sTrailingBytesForUTF8[firstChar] + 1;
}
public static (char32 c, int8 cSize) Decode(char8* buf, int bufSize)
public static (char32 c, int8 length) Decode(char8* buf, int bufSize)
{
char32 c = *buf;
int8 trailingBytes = UTF8.sTrailingBytesForUTF8[c];