Info
Version: | 1.0.0 |
Author(s): | udaken |
Last Update: | Thursday, July 16, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/udaken/SafelyUnsafe |
NuGet Url: | https://www.nuget.org/packages/SafelyUnsafe |
Install
Install-Package SafelyUnsafe
dotnet add package SafelyUnsafe
paket add SafelyUnsafe
SafelyUnsafe Download (Unzip the "nupkg" after downloading)
Dependencies
- System.Runtime.CompilerServices.Unsafe(>= 4.7.1)
And also provides several support methods.
• It is implemented in the UnsafeUnmanaged class. In most cases, you just replace Unsafe to UnsafeUnmanaged.
All type argument is restricted to unmanaged
• overload for ref readonly, with an ReadOnly in the suffix.
• Utility methods like OffsetOf, Overlaps, NullRef, IsNullRef.
• .NET Standard 2.0 is supported.