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

[cdac] Add helper methods to Target for reading UTF-8/16 strings #106483

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

elinor-fung
Copy link
Member

Follow-up from #106358 (comment)

Add ReadUtf8String and ReadUtf16String to Target. For ReadUtf16String, it reads in target endianness, but does not specify target endianness in its name - I think this is consistent with all the other Read* functions on Target which read in target endianness.

I did not add a ReadUTF16MetadataString / ReadUtf16StringMetadataEndianness in this change, since with the switch to synthesize a ecma-335 image and just use MetadataReader, I don't think we have a current use case.

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Aug 15, 2024
@elinor-fung elinor-fung added area-Diagnostics-coreclr and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Aug 15, 2024
Copy link
Contributor

Tagging subscribers to this area: @tommcdon
See info in area-owners.md if you want to be subscribed.

@elinor-fung elinor-fung merged commit b6bfc5a into dotnet:main Aug 19, 2024
148 of 150 checks passed
@elinor-fung elinor-fung deleted the cdac-target-read-string branch August 19, 2024 20:34
@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants