mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed missing length in SV target
This commit is contained in:
parent
aea367b95e
commit
33286fb804
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ namespace System.Text
|
|||
int utf8Len = GetDecodedUTF8Size(inBytes);
|
||||
|
||||
int prevSize = outStr.Length;
|
||||
switch (DecodeToUTF8(inBytes, StringView(outStr.PrepareBuffer(utf8Len))))
|
||||
switch (DecodeToUTF8(inBytes, StringView(outStr.PrepareBuffer(utf8Len), utf8Len)))
|
||||
{
|
||||
case .Ok(let val):
|
||||
return .Ok(val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue