NetFx.System.Buffers

Provides resource pooling of any type for performance-critical applications that allocate and deallocate objects frequently. Commonly Used Types: System.Buffers.ArrayPool<T>


Keywords
License
MIT
Install
Install-Package NetFx.System.Buffers -Version 4.0.0-alpha-0016

Documentation

Polyfills for .NET Framework 4.0

Azure DevOps builds (main) GitHub GitHub Sponsors

These are re-compilations of .NET sources to provide support on .NET Framework 4.0. They are compatible with the official versions although some of the sources may be newer than the official release and contain newer behaviors. The public API surface is the same as the original release.

Our goal is to provide support for newer APIs that Microsoft didn't make available on .NET Framework 4.0 so you can modernize your code even if you cannot yet upgrade. These libraries are also useful for class libraries that multi-target and would ordinarily be forced to add conditional compilation sections to their code.

These packages have tests to confirm compatibility and are strongly named, so they can be used just like the original packages from Microsoft.


NuGet

Package Link
NetFx.System.Buffers Nuget
NetFx.System.Memory Nuget
NetFx.System.Runtime.CompilerServices.Unsafe Nuget

Saying Thanks

If you find these libraries to be useful, please star us on GitHub and consider a sponsorship so we can continue bringing you great free tools like these. It really would make a big difference!

GitHub Sponsors