NetFx.System.Memory
4.0.0-alpha-0013
See the version list below for details.
dotnet add package NetFx.System.Memory --version 4.0.0-alpha-0013
NuGet\Install-Package NetFx.System.Memory -Version 4.0.0-alpha-0013
<PackageReference Include="NetFx.System.Memory" Version="4.0.0-alpha-0013" />
paket add NetFx.System.Memory --version 4.0.0-alpha-0013
#r "nuget: NetFx.System.Memory, 4.0.0-alpha-0013"
// Install NetFx.System.Memory as a Cake Addin #addin nuget:?package=NetFx.System.Memory&version=4.0.0-alpha-0013&prerelease // Install NetFx.System.Memory as a Cake Tool #tool nuget:?package=NetFx.System.Memory&version=4.0.0-alpha-0013&prerelease
System.Memory Polyfill for .NET Framework 4.0
Provides types for efficient representation and pooling of managed, stack, and native memory segments and sequences of such segments, along with primitives to parse and format UTF-8 encoded text stored in those memory segments.
Commonly Used Types:
- System.Span
- System.ReadOnlySpan
- System.Memory
- System.ReadOnlyMemory
- System.Buffers.MemoryPool
- System.Buffers.ReadOnlySequence
- System.Buffers.Text.Utf8Parser
- System.Buffers.Text.Utf8Formatter
This package adds support for System.Memory types on .NET Framework 4.0.
As the source code for the System.Memory package that works on .NET Framework 4.5 is not available, types in this package have either been decompiled from System.Memory 4.5.5 or have been sourced from newer versions of .NET. Most of the tests from the last release of .NET Core 3.1 (version 3.1.29) have been ported and are all passing. There are 103 tests that pass on this library that don't pass on System.Memory, so it contains some behavior that is more in line with later versions of .NET than with System.Memory 4.5.5. But these are minor differences that most users won't notice.
This is not meant to be an upgrade to System.Memory 4.5.5, it is simply to add support on the net40
target for all of the existing APIs in System.Memory 4.5.5. It is recommended to use the official release of System.Memory on newer versions of .NET.
Saying Thanks
If you find this library to be useful, please star us on GitHub and consider a sponsorship so we can continue bringing you great free tools like this one. It really would make a big difference!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.0
- NetFx.System.Buffers (>= 4.0.0-alpha-0013)
- NetFx.System.Runtime.CompilerServices.Unsafe (>= 4.0.0-alpha-0013)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on NetFx.System.Memory:
Package | Downloads |
---|---|
J2N
J2N is a library that helps bridge the gap between .NET and Java. It provides components to assist with porting Java code to .NET, such as collections, adapters, and extensions. It contains some features from Java that also make it generally useful in any .NET application. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.0.0 | 552 | 4/13/2024 |
4.0.0-alpha-0016 | 144 | 4/1/2024 |
4.0.0-alpha-0013 | 100 | 3/31/2024 |