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 'TryGetDataUnsafe' overload for 'IMemoryBufferReference' #1673

Merged

Conversation

Sergio0694
Copy link
Member

Contributes to #1672

Users shouldn't need manual interop (and defining an interface) to get data out of an IMemoryBufferReference object. This PR adds a new WindowsRuntimeMarshal interop API that does the same we're already doing for IBuffer.

@Sergio0694 Sergio0694 requested a review from manodasanW July 15, 2024 01:58
@Sergio0694 Sergio0694 changed the title User/sergiopedri/memory buffer reference interop Add 'TryGetDataUnsafe' overload for 'IMemoryBufferReference' Jul 15, 2024
@Sergio0694 Sergio0694 force-pushed the user/sergiopedri/memory-buffer-reference-interop branch 2 times, most recently from 1dae81c to 65778c3 Compare July 15, 2024 06:13
@Sergio0694 Sergio0694 force-pushed the user/sergiopedri/memory-buffer-reference-interop branch from 65778c3 to 528abcf Compare July 15, 2024 15:51
@Sergio0694 Sergio0694 force-pushed the user/sergiopedri/memory-buffer-reference-interop branch from 528abcf to 4cf15e5 Compare July 15, 2024 16:58
@Sergio0694 Sergio0694 merged commit d71f2d3 into staging/AOT Jul 20, 2024
10 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.

2 participants