NativeInterop 1.2.1

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)

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

Release Notes

Added NativePtr.structureToUnmanagedBuffer
Added NativePtr.unmanagedBufferToStructure

With these two new APIs, one can read structures from/write stuctures to unmanaged buffers allocated as byte*, e.g. via stackalloc byte[...]

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
3.2.0 221 2/24/2017
3.1.0 147 11/14/2016
3.0.2 79 11/7/2016
3.0.0 79 11/4/2016
2.4.3 152 4/17/2016
2.4.2 95 4/15/2016
2.4.1 121 3/5/2016
2.4.0 303 6/3/2015
2.3.5 143 4/28/2015
2.3.2 224 8/20/2014
2.3.1 151 7/10/2014
2.3.0 142 7/9/2014
2.2.1 145 7/2/2014
2.2.0 145 7/2/2014
2.1.0 148 6/20/2014
2.0.0 156 5/23/2014
1.4.1 144 5/18/2014
1.4.0 161 5/18/2014
1.2.1 (current version) 146 4/28/2014
1.1.1 158 4/12/2014
1.1.0 142 4/12/2014
1.0.0 143 4/11/2014
Show less