1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-26 19:48:01 +02:00

Changed decode return types

This commit is contained in:
Brian Fiete 2020-01-24 06:02:27 -08:00
parent 12ab5a13f6
commit a43d7ca991
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ namespace System.Text
}
}
public static (char32, int) Decode(char16* buf, int lenLeft = 0)
public static (char32 c, int8 cSize) Decode(char16* buf, int lenLeft = 0)
{
char16 c = buf[0];
if ((c >='\u{D800}') && (c < '\u{DC00}'))