NativeInterop 3.2.0

.NET Standard 1.1
Install-Package NativeInterop -Version 3.2.0
dotnet add package NativeInterop --version 3.2.0
<PackageReference Include="NativeInterop" Version="3.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NativeInterop --version 3.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NativeInterop, 3.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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
.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
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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,543 2/24/2017
3.1.0 898 11/14/2016
3.0.2 750 11/7/2016
3.0.0 835 11/4/2016
2.4.3 856 4/17/2016
2.4.2 764 4/15/2016
2.4.1 783 3/5/2016
2.4.0 1,055 6/3/2015
2.3.5 982 4/28/2015
2.3.2 965 8/20/2014
2.3.1 872 7/10/2014
2.3.0 857 7/9/2014
2.2.1 872 7/2/2014
2.2.0 860 7/2/2014
2.1.0 911 6/20/2014
2.0.0 885 5/23/2014
1.4.1 887 5/18/2014
1.4.0 894 5/18/2014
1.2.1 1,133 4/28/2014
1.1.1 1,046 4/12/2014
1.1.0 1,069 4/12/2014
1.0.0 1,021 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