NativeInterop 2.1.0

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

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

Release Notes

- *IMPORTANT* Breaking change: Switched order of arguments of Buffer.CopyStructureToBuffer
- Implemented more efficient blocked memory copy ("memcpy")
- Exposed generic memcpy as Buffer.Copy/Buffer.memcpy
- Added Buffer.Copy/Buffer.copy based on Buffer.memcpy
- Added Buffer.ConvertStructure

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
3.2.0 287 2/24/2017
3.1.0 167 11/14/2016
3.0.2 99 11/7/2016
3.0.0 98 11/4/2016
2.4.3 173 4/17/2016
2.4.2 116 4/15/2016
2.4.1 142 3/5/2016
2.4.0 328 6/3/2015
2.3.5 164 4/28/2015
2.3.2 244 8/20/2014
2.3.1 171 7/10/2014
2.3.0 161 7/9/2014
2.2.1 164 7/2/2014
2.2.0 164 7/2/2014
2.1.0 (current version) 168 6/20/2014
2.0.0 179 5/23/2014
1.4.1 166 5/18/2014
1.4.0 182 5/18/2014
1.2.1 167 4/28/2014
1.1.1 178 4/12/2014
1.1.0 162 4/12/2014
1.0.0 162 4/11/2014
Show less