Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed: ConvertFromUtf16BEBytesToUtf8BOMBytes() #5

Merged
merged 7 commits into from
Oct 1, 2023

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
3 checks passed
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.

None yet

2 participants