Skip to content

fixed: ConvertFromUtf16BEBytesToUtf8BOMBytes()#5

Merged
lc6464 merged 7 commits intolc6464:mainfrom
execute233:main
Oct 1, 2023
Merged

fixed: ConvertFromUtf16BEBytesToUtf8BOMBytes()#5
lc6464 merged 7 commits intolc6464:mainfrom
execute233:main

Conversation

@execute233
Copy link
Contributor

省内存,但是省出bug了。

@lc6464
Copy link
Owner

lc6464 commented Sep 29, 2023

没看懂问题出在哪🤔🤔🤔

@execute233
Copy link
Contributor Author

人呢?

@lc6464
Copy link
Owner

lc6464 commented Oct 1, 2023

Let me see see.

@lc6464
Copy link
Owner

lc6464 commented Oct 1, 2023

我不是说看看能不能用 Span 重写吗?

Copy link
Owner

@lc6464 lc6464 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你测试一下?

@execute233
Copy link
Contributor Author

OK吧......?

@execute233
Copy link
Contributor Author

我倒有个想法。

@execute233
Copy link
Contributor Author

也可能没有...想着先开个空间放入{0xEE, 0xEF, 原byte[]}然后直接return Convert(......)的。

@execute233
Copy link
Contributor Author

草了,用这个方法还会多用一部分字节。

也可能没有...想着先开个空间放入{0xEE, 0xEF, 原byte[]}然后直接return Convert(......)的。

@execute233
Copy link
Contributor Author

测试通过。

@lc6464
Copy link
Owner

lc6464 commented Oct 1, 2023

Can I merge it?

@execute233
Copy link
Contributor Author

of course.

@lc6464 lc6464 merged commit 3845ade into lc6464:main Oct 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants