NativeCompressions.LZ4.Runtime
0.1.0
See the version list below for details.
dotnet add package NativeCompressions.LZ4.Runtime --version 0.1.0
NuGet\Install-Package NativeCompressions.LZ4.Runtime -Version 0.1.0
<PackageReference Include="NativeCompressions.LZ4.Runtime" Version="0.1.0" />
<PackageVersion Include="NativeCompressions.LZ4.Runtime" Version="0.1.0" />
<PackageReference Include="NativeCompressions.LZ4.Runtime" />
paket add NativeCompressions.LZ4.Runtime --version 0.1.0
#r "nuget: NativeCompressions.LZ4.Runtime, 0.1.0"
#:package NativeCompressions.LZ4.Runtime@0.1.0
#addin nuget:?package=NativeCompressions.LZ4.Runtime&version=0.1.0
#tool nuget:?package=NativeCompressions.LZ4.Runtime&version=0.1.0
NativeCompressions
NativeCompressions is the native ZStandard and LZ4 compression library and managed binding for .NET and Unity. Compression is very important, but has not been given much importance in .NET. We chose native binding, because ZStandard and LZ4 are constantly evolving and introducing new optimizations, and pure C# port doesn't get the benefit of that. Bindings were created with performance in mind to conform to modern .NET APIs(Span, IBufferWriter, System.IO.Pipelines, and .NET 6's new Scatter/Gather I/O API) and avoid allocation and marshalling overhead.
PM> Install-Package NativeCompressions.ZStandard
PM> Install-Package NativeCompressions.LZ4
Simple API
var comp = ZStandard.Compress(input);
var bin = ZStandard.Decompress(comp);
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on NativeCompressions.LZ4.Runtime:
Package | Downloads |
---|---|
NativeCompressions.LZ4
Native LZ4 high-performance streaming compression for .NET. |
GitHub repositories
This package is not used by any popular GitHub repositories.