mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-20 00:50:25 +02:00
Changed decode return types
This commit is contained in:
parent
12ab5a13f6
commit
a43d7ca991
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ namespace System.Text
|
|||
return UTF8.sTrailingBytesForUTF8[firstChar] + 1;
|
||||
}
|
||||
|
||||
public static (char32, int32) Decode(char8* buf, int bufSize)
|
||||
public static (char32 c, int8 cSize) Decode(char8* buf, int bufSize)
|
||||
{
|
||||
char32 c = *buf;
|
||||
int8 trailingBytes = UTF8.sTrailingBytesForUTF8[c];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue