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

Add registry Value to/from HSTRING conversion #3190

Merged
merged 4 commits into from
Aug 5, 2024

Conversation

kennykerr
Copy link
Collaborator

Building on #3184, this update just makes it easier to convert safely between the generic Value representation and HSTRING for accurate wide string ([u16]) representation. It's generally more efficient to query for HSTRING directly but at least if you need to deal with Value you can now safely and correctly convert to HSTRING without first converting to String or bytes.

I also added some missing test coverage.

@kennykerr kennykerr merged commit fdc5149 into master Aug 5, 2024
78 checks passed
@kennykerr kennykerr deleted the registry-hstring-tests branch August 5, 2024 20:06
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