NativeInterop 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...).

Install-Package NativeInterop -Version 3.2.0
dotnet add package NativeInterop --version 3.2.0
paket add NativeInterop --version 3.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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

Version History

Version Downloads Last updated
3.2.0 (current version) 202 2/24/2017
3.1.0 145 11/14/2016
3.0.2 78 11/7/2016
3.0.0 77 11/4/2016
2.4.3 151 4/17/2016
2.4.2 94 4/15/2016
2.4.1 119 3/5/2016
2.4.0 301 6/3/2015
2.3.5 142 4/28/2015
2.3.2 223 8/20/2014
2.3.1 148 7/10/2014
2.3.0 139 7/9/2014
2.2.1 142 7/2/2014
2.2.0 142 7/2/2014
2.1.0 144 6/20/2014
2.0.0 153 5/23/2014
1.4.1 141 5/18/2014
1.4.0 158 5/18/2014
1.2.1 143 4/28/2014
1.1.1 155 4/12/2014
1.1.0 139 4/12/2014
1.0.0 140 4/11/2014