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

UnicodeUtil updates: TryUTF8toUTF16, ReadOnlySpan methods, #1024 #1057

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

paulirwin
Copy link
Contributor

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a change, please open an issue to discuss the change or find an existing issue.

Add TryUTF8toUTF16 method to UnicodeUtil and update caller, some conversions to ReadOnlySpan

Fixes #1024

Description

This is a draft WIP because I want to make sure I caught all of the cases where this could be used, as well as add a unit test for the new method.

@paulirwin paulirwin added the notes:improvement An enhancement to an existing feature label Dec 4, 2024
@paulirwin paulirwin requested a review from NightOwl888 December 4, 2024 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes:improvement An enhancement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert UTF8toUTF16 to TryUTF8toUTF16
1 participant