Skip to content

Add 'TryGetDataUnsafe' overload for 'IMemoryBufferReference' - #1673

Merged
Sergio Pedri (Sergio0694) merged 2 commits into
staging/AOTfrom
user/sergiopedri/memory-buffer-reference-interop
Jul 20, 2024
Merged

Sergio Pedri (Sergio0694) merged 2 commits into
staging/AOTfrom
user/sergiopedri/memory-buffer-reference-interop

Conversation

@Sergio0694

Copy link
Copy Markdown
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 Sergio Pedri (Sergio0694) changed the title User/sergiopedri/memory buffer reference interop Add 'TryGetDataUnsafe' overload for 'IMemoryBufferReference' Jul 15, 2024
@Sergio0694
Sergio Pedri (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
Sergio Pedri (Sergio0694) force-pushed the user/sergiopedri/memory-buffer-reference-interop branch from 65778c3 to 528abcf Compare July 15, 2024 15:51
@Sergio0694
Sergio Pedri (Sergio0694) force-pushed the user/sergiopedri/memory-buffer-reference-interop branch from 528abcf to 4cf15e5 Compare July 15, 2024 16:58
@Sergio0694
Sergio Pedri (Sergio0694) merged commit d71f2d3 into staging/AOT Jul 20, 2024
@Sergio0694
Sergio Pedri (Sergio0694) deleted the user/sergiopedri/memory-buffer-reference-interop branch March 19, 2026 20:23
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