Use System.Runtime.InteropServices.NativeMemory on modern .NET
Open
- Dominant language
- C#
- Stars
- 39
- Forks
- 30
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 16
Description
### Describe the enhancement requested
Use `System.Runtime.InteropServices.NativeMemory` on modern .NET. `AlignedAlloc` and `AlignedFree` seem particularly useful for Arrow buffers.
Instead of using `#if` regions to distinguish between flavors of .NET, a better approach might be to create a `NativeMemory`-compatible wrapper for downlevel versions that front-ends something like the existing code.
Contributor guide
Assessment
This issue has not been assessed yet.