You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use System.Runtime.InteropServices.NativeMemory on modern .NET #99
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.
Activity
CurtHagenlocher commentedon Mar 20, 2026
Can also use the following on older .NET: