NativeInterop 2.3.5
dotnet add package NativeInterop --version 2.3.5
NuGet\Install-Package NativeInterop -Version 2.3.5
<PackageReference Include="NativeInterop" Version="2.3.5" />
paket add NativeInterop --version 2.3.5
#r "nuget: NativeInterop, 2.3.5"
// Install NativeInterop as a Cake Addin #addin nuget:?package=NativeInterop&version=2.3.5 // Install NativeInterop as a Cake Tool #tool nuget:?package=NativeInterop&version=2.3.5
Extends the NativeInterop.NativePtr module from FSharp.Core with 64-bit capabilities and exposes the functionality in an OOP-friendly manner as NativePtr<T> (raw pointer operations on pointers of type T* where T is an unmanaged type), extension methods to System.IntPtr and NativeArray64<T> (a generic native 64-bit array of items of unmanaged type T) to C# and VB (and F#, of course). The included System.IO.Stream extension methods as well as the Buffer module enable easy and efficient handling of structured binary data (convert array types, convert structs, memcpy...).
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
GitHub repositories
This package is not used by any popular GitHub repositories.
- Removed FSharp.Core.dll from package, cf. https://fsharp.github.io/2015/04/18/fsharp-core-notes.html
- improved perf. for x86 block copy
- added overloads for NativePtr to use nativeint/IntPtr as offset/index