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

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

Release Notes

This is a major release, starting the v2 series of releases. v2 is not backward compatible to any v1 release. Exsiting APIs have been changed, renamed and removed. New ones have been added.
Detailed change log:
   - Added NativePtr.inc
   - Added NativePtr.dec
   - Removed NativePtr.serializeStructs
   - Removed NativePtr.serializeStructSequence
   - Removed Stream.writeStructureSequence
   - Moved all "buffer" specific functionality (read struct from buffer,
     write struct to buffer, convert buffer type) to the new Buffer module
   - Added generic Buffer.from/toStructure functions
   - Added precondition checks to Buffer functions

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
3.2.0 261 2/24/2017
3.1.0 158 11/14/2016
3.0.2 90 11/7/2016
3.0.0 90 11/4/2016
2.4.3 164 4/17/2016
2.4.2 107 4/15/2016
2.4.1 134 3/5/2016
2.4.0 319 6/3/2015
2.3.5 155 4/28/2015
2.3.2 236 8/20/2014
2.3.1 163 7/10/2014
2.3.0 154 7/9/2014
2.2.1 157 7/2/2014
2.2.0 157 7/2/2014
2.1.0 160 6/20/2014
2.0.0 (current version) 170 5/23/2014
1.4.1 158 5/18/2014
1.4.0 175 5/18/2014
1.2.1 158 4/28/2014
1.1.1 170 4/12/2014
1.1.0 154 4/12/2014
1.0.0 155 4/11/2014
Show less