Skip to main content
ImmutableMemory package icon

ImmutableMemory

Immutable versions of `Memory<T>` and `Span<T>`, because `ReadOnlyMemory/Span` doesn't imply the underlying memory won't be mutated. These types take sole ownership of the underlying memory and only provide a non-mutating API which closely resembles `ReadOnlyMemory/Span`.

Total Downloads
2.6K
2,632
Published
Nov 10, 2019
Latest stable version

Install

.NET CLI
dotnet add package ImmutableMemory --version 1.0.0-beta3
Package Manager Console
Install-Package ImmutableMemory -Version 1.0.0-beta3
PackageReference
<PackageReference Include="ImmutableMemory" Version="1.0.0-beta3" />

Frameworks

.NETStandard1.1 .NETStandard2.1

Dependencies

NETStandard.Library
.NETStandard1.1
[1.6.1, )
System.Memory
.NETStandard1.1
[4.5.3, )
System.Memory
.NETStandard2.1
[4.5.3, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.