NativeInterop 3.2.0
dotnet add package NativeInterop --version 3.2.0
NuGet\Install-Package NativeInterop -Version 3.2.0
<PackageReference Include="NativeInterop" Version="3.2.0" />
paket add NativeInterop --version 3.2.0
#r "nuget: NativeInterop, 3.2.0"
// Install NativeInterop as a Cake Addin
#addin nuget:?package=NativeInterop&version=3.2.0
// Install NativeInterop as a Cake Tool
#tool nuget:?package=NativeInterop&version=3.2.0
Provides generic pointer operations for all of .NET, building on the capabilities provided by FSharp.NativeInterop.NativePtr, which this package extends with features like 64-bit capabilities, exposed in an OOP-friendly manner as NativePtr<T> and extension methods to System.IntPtr.
NativeArray, an array-like collection of items of unmanaged (blittable) type allocated on the unmanaged heap, supports 64-bit addressing and item access with and without bounds checks, utilizing the CPU's AGUs for address offset calculation where possible.
The included System.IO.Stream extension methods as well as the Buffer and Structure modules enable easy and efficient handling of structured binary data (convert array types, convert structs, access structs in an element-wise fashion, memcpy...).
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
.NET Framework | net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen30 tizen40 tizen60 |
Universal Windows Platform | uap uap10.0 |
Windows Phone | wpa81 |
Windows Store | netcore netcore45 netcore451 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
NuGet packages (1)
Showing the top 1 NuGet packages that depend on NativeInterop:
Package | Downloads |
---|---|
NativeInterop.SIMD
Provides SIMD-accelerated operations (create, init, map, ...) on native arrays provided by the NativeInterop package Note for F# Users: The System.Numerics.Vectors package doesn't work out of the box for F# projects. Make sure to MANUALLY ADD <HintPath>..\packages\System.Numerics.Vectors.4.1.1\lib\net46\System.Numerics.Vectors.dll</HintPath> to the reference in your fsproj file! |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.2.0 | 1,745 | 2/24/2017 |
3.1.0 | 1,036 | 11/14/2016 |
3.0.2 | 845 | 11/7/2016 |
3.0.0 | 940 | 11/4/2016 |
2.4.3 | 958 | 4/17/2016 |
2.4.2 | 853 | 4/15/2016 |
2.4.1 | 874 | 3/5/2016 |
2.4.0 | 1,157 | 6/3/2015 |
2.3.5 | 1,079 | 4/28/2015 |
2.3.2 | 1,062 | 8/20/2014 |
2.3.1 | 969 | 7/10/2014 |
2.3.0 | 961 | 7/9/2014 |
2.2.1 | 970 | 7/2/2014 |
2.2.0 | 952 | 7/2/2014 |
2.1.0 | 1,002 | 6/20/2014 |
2.0.0 | 989 | 5/23/2014 |
1.4.1 | 989 | 5/18/2014 |
1.4.0 | 999 | 5/18/2014 |
1.2.1 | 1,240 | 4/28/2014 |
1.1.1 | 1,138 | 4/12/2014 |
1.1.0 | 1,164 | 4/12/2014 |
1.0.0 | 1,114 | 4/11/2014 |
First release to support SIMD extensions: Install the add-on NuGet package NativeInterop.SIMD to use vectorized operations on NativeArrays.
Note for F# Users: The System.Numerics.Vectors package doesn't work out of the box for F# projects. Make sure to MANUALLY ADD <HintPath>..\packages\System.Numerics.Vectors.4.1.1\lib\net46\System.Numerics.Vectors.dll</HintPath> to the reference in your fsproj file!
NativeArray:
- added functions resize and resize64 (and corresponding extension methods)
- more efficient implementation of filter