Hosted on github: https://github.com/Azengar/UnmanagedMemoryUtils.
Available on Nuget at: https://www.nuget.org/packages/UnmanagedMemoryUtils/ (UnmanagedMemoryUtils)
A .NET collection of utilities for working with unmanaged memory.
Provides faster alternatives to Memory<T> and ReadOnlyMemory<T> in addition to accessing unmanaged string from managed code.
Allows to manipulate array of unmanaged pointers with the UnmanagedArrayPointer<T> struct.
- Generate new commit with your changes with a message:
git commit -m "Version X.X.X: Notes about the change" - Tag the new commit:
git tag vX.X.X -m "Version X.X.X" - Push the commit:
git pushand the taggit push origin vX.X.X - Build the new
Releasebinaries. The package is built automatically alongside the binaries. - Navigate to
./UnmanagedMemoryUtils/UnmanagedMemoryUtils/bin/Release - Publish the package:
dotnet nuget push .\UnmanagedMemoryUtils.X.X.X.nupkg --api-key <YOUR_API_KEY> --source https://api.nuget.org/v3/index.json
- Changed from
Unsafe.CopyBlocktoUnsafe.CopyBlockUnaligned.
- Added Aggressive Inlining for Allocate methods.
- Added the
UnmanagedPointerArray<T>struct used to manipulate array of pointers. - Marked all properties as
readonlyas they don't modify the state of the structs. - Use the new
namespacesyntax for less indentation levels.
- Fixed an issue that made it impossible to retrieve the string value of an
UnmanagedStringwith theToStringmethod.
- Readme update with Nuget link.
- Update to .NET 8
- Adds a new
IUnsafeDisposableinterface which offers an unsafe but less performance impacting to the standardIDisposableand finalizer pattern.- This interface is now implemented by
IUnmanagedStringand is available to use outside the library.
- This interface is now implemented by