diff --git a/BeefLibs/corlib/src/Text/UTF16.bf b/BeefLibs/corlib/src/Text/UTF16.bf index 5ac2c745..651c5cd3 100644 --- a/BeefLibs/corlib/src/Text/UTF16.bf +++ b/BeefLibs/corlib/src/Text/UTF16.bf @@ -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}')) diff --git a/BeefLibs/corlib/src/Text/UTF8.bf b/BeefLibs/corlib/src/Text/UTF8.bf index eff45c8d..b23b10fd 100644 --- a/BeefLibs/corlib/src/Text/UTF8.bf +++ b/BeefLibs/corlib/src/Text/UTF8.bf @@ -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];