NativeCompressions 0.1.0
See the version list below for details.
dotnet add package NativeCompressions --version 0.1.0
NuGet\Install-Package NativeCompressions -Version 0.1.0
<PackageReference Include="NativeCompressions" Version="0.1.0" />
<PackageVersion Include="NativeCompressions" Version="0.1.0" />
<PackageReference Include="NativeCompressions" />
paket add NativeCompressions --version 0.1.0
#r "nuget: NativeCompressions, 0.1.0"
#:package NativeCompressions@0.1.0
#addin nuget:?package=NativeCompressions&version=0.1.0
#tool nuget:?package=NativeCompressions&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.
-
net9.0
- NativeCompressions.LZ4 (>= 0.1.0)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on NativeCompressions:
| Package | Downloads |
|---|---|
|
UVtools.Core
MSLA/DLP, file analysis, calibration, repair, conversion and manipulation |
|
|
VKV.Compression
An extra fast red-only embedded B+ Tree based key/value database, implemented pure C#. |
|
|
LeanLucene
A .NET-native full-text search engine. Segment-centric indexing, memory-mapped reads, and atomic commit semantics. Targets net10.0 and net11.0. |
|
|
DryDB.Compression
An extra fast red-only embedded B+ Tree based key/value database, implemented pure C#. |
|
|
ArrowNet.Compression.NativeCompressions
NativeCompressions-based optional compression codec backend for Apache Arrow .NET. |
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on NativeCompressions:
| Repository | Stars |
|---|---|
|
Cysharp/NativeCompressions
NativeCompressions is the native binding and high-level API of ZStandard, LZ4 and OpenZL compression library for .NET and Unity.
|
|
|
guitarrapc/SkiaSharp.QrCode
High-performance QR code generation with SkiaSharp integration.
|
|
|
hadashiA/DryDB
An ultra fast read-only embedded B+Tree based key/value database, implemented pure C#.
|