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:
parent
12ab5a13f6
commit
a43d7ca991
2 changed files with 2 additions and 2 deletions
|
@ -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}'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue