61 packages tagged with “unsafe”
This package includes high performance .NET helpers such as: - Memory2D<T> and Span2D<T>: two types providing fast and allocation-free abstraction over 2D memory areas. - ArrayPoolBufferWriter<T>: an IBufferWriter<T> implementation using pooled arrays, which also supports IMemoryOwner<T>. - MemoryBufferWriter<T>: an IBufferWriter<T>: implementation that can wrap external Memory<T>: instances. - MemoryOwner<T>: an IMemoryOwner<T> implementation with an embedded length and a fast Span<T> accessor. - SpanOwner<T>: a stack-only type with the ability to rent a buffer of a specified length and getting a Span<T> from it. - StringPool: a configurable pool for string instances that be used to minimize allocations when creating multiple strings from char buffers. - String, array, Memory<T>, Span<T> extensions and more, all focused on high performance. - HashCode<T>: a SIMD-enabled extension of HashCode to quickly process sequences of values. - BitHelper: a class with helper methods to perform bit operations on numeric types. - ParallelHelper: helpers to work with parallel code in a highly optimized manner. - Box<T>: a type mapping boxed value types and exposing some utility and high performance methods. - Ref<T>: a stack-only struct that can store a reference to a value of a specified type. - NullableRef<T>: a stack-only struct similar to Ref<T>, which also supports nullable references.
Library for getting a CLR instance's layout at runtime
Rich data types to work with unmanaged memory in a safe manner
A collection of useful data and execution extensions for .NET
LinksPlatform's Platform.Unsafe Class Library
An API for the Data Serialization
This package makes it possible to read or write raw object memory You can also allocate objects on the native heap
Spreads Native methods
A Core Framework for Rapid Application Development
A collection of useful data and execution extensions for Bridge.NET
Spreads low-level IL unsafe methods
An API for the Data Access Layer using Dapper
An API for the Data Access Layer using RavenDB
A MSBuild task that scans assemblies for locations to patch in IL code that normally cannot be generated from C# (e.g. cpblk/memcpy). The majority of the stub methods available are generic, which allows for low overhead (e.g. no boxing) when working with struct types and interoping with (unmanaged) memory pointers. The nuget package works with both PackageReference and the older nuget config format. The stub methods are served as a content file that will be added to your project with a namespace transformation. The generated code behaves similarly to the new Unsafe library, but this patcher allows you to inject that behavior directly into your own assembly, avoiding additional nuget dependencies or reliance on packing tools like ILMerge. Note: C# 7.2 is required as of version 2.0.
Concrete Implementations for the H.Necessaire Notifications API
A React App Base for Bridge.NET
Provides structs that wrap pointers, as well as Unsafe, Interlocked, and Volatile operations on ref pointers.
Epicycle .NET commons library. Contains various utilities, file system abstraction, reporting and more. Used by other Epicycle packages. * Details & release notes: https://github.com/open-epicycle/Epicycle.Commons-cs/blob/ver-0.1.8.0/README.md * Sources: https://github.com/open-epicycle/Epicycle.Commons-cs/tree/ver-0.1.8.0 * Git repository: https://github.com/open-epicycle/Epicycle.Commons-cs
Provides methods ("operators") that enable compile-time type-safety when casting COM interface pointers from the TerraFX.Interop.Windows package.
Fast unsafe collections for memory reuse by stack type. Adding elements without overhead when increasing Capacity. Can also be used in as classic collection with resizing or on a custom memory allocator. See collection descriptions and examples on GitHub.
A collection of various dangerous operations.
Rxmxnx.PInvoke.Extensions is a comprehensive library designed to streamline and enhance the interaction between .NET and native P/Invoke methods.
Overloads params array argument with inline tuples, circumventing heap allocations.
Use it if u want replace bilion of strings.
Throws an exception if your unsafe code attempts to write to memory you don't control