David Hall
4a2216f13b
Added SafeNativeArray.GetRefAt method to get a reference to an element in the array
2023-01-27 21:12:45 -07:00
David Hall
2099517c90
Added SafeNativeArrayBase.GetPointers method
2022-09-02 16:33:46 -06:00
David Hall
a94e60820b
Reworked memory manipulation functions in InteropExtensions and IntPtrConverter to use new marshaling directives and to drive consistency of use across libs (i.e. call same method to do same work).
2019-11-19 12:52:44 -07:00
David Hall
cd0819e08b
Added headerSize to constructors' parameters from base
2019-09-30 20:36:28 -06:00
David Hall
c532e6061f
Made indexer related properties virtual
2019-08-22 13:57:03 -06:00
David Hall
c3521b7742
MAJOR BREAKING CHANGEs:
...
1) Obsoleted Vanara.Extensions.InteropExtensions.StructureToPtr for a name change to MarshalToPtr for consistency.
2) Added parameter to all methods reading memory that allows developer to indicate size of allocated memory they read from.
3) Enabled the ability to read/write enum values from memory in all extension methods.
4) Added Write methods for writing to memory
2019-08-17 21:13:57 -06:00
David Hall
ffed6e252a
Added constructor to allow for ReadOnly use.
2019-07-03 14:45:15 -06:00
David Hall
2c1b24e3e1
Fixed bug in Insert
2019-06-09 10:00:16 -06:00
David Hall
8d211da1de
Fixed bugs on Insert and array set methods
2019-05-09 15:56:31 -06:00
David Hall
f5ad3f0755
Extracted SafeNativeArrayBase from SafeNativeArray that allows for a different memory manager to be used and enhances/fixes the ability to insert a header before the array.
2019-05-08 09:30:06 -06:00
David Hall
0383068abe
Added documentation and protected constructor to allocate just raw memory
2019-04-24 08:27:31 -06:00
David Hall
3a56122887
Updated documentation
2019-04-17 12:51:11 -06:00
David Hall
5597d959c2
Updated documentation
2019-04-17 12:25:05 -06:00
David Hall
8a1355b0af
Updated comments
2018-11-28 12:33:55 -07:00
David Hall
c5467dfb7e
Another 2.0 major commit. All tests working.
2018-11-19 21:18:50 -07:00
David Hall
627c6d2314
2.0 Checkin - Buildable
2018-10-26 12:24:07 -06:00