Rxmxnx.PInvoke.Extensions (nuget): Provides a set of extensions and utilites which facilitates exchange of data from and to .NET P/Invoke methods (or UnmanagedCallersOnly using NativeAOT) avoiding use of both native pointers and unsafe context.
Keywords: PInvoke|Binary|Reference|Unmanaged|Memory|NativeAOT|Utf8|CString|Pointer|Span|ReadOnlySpan|Unsafe|Fixed|Native|FFI|u8|Literals