LZ4 is lossless compression algorithm, sacrificing compression ratio for compression/decompression speed. Its compression speed is ~400 MB/s per core while decompression speed reaches ~2 GB/s, not far from RAM speed limits.

LZ4net brings LZ4 to all (most?) .NET platforms: .NET 2.0+, Mono, Windows Phone, Xamarin.iOS, Xamarin.Android and Silverlight

There is a newer version of this package available.
See the version list below for details.
Install-Package lz4net -Version
dotnet add package lz4net --version
<PackageReference Include="lz4net" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add lz4net --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- BUGFIX: support for Mono (with full .NET 4 assembly, not only Portable)
- ISSUE: added InteractiveRead mode (useful with network streams)
- DEPRECATED: some LZ4Stream constructors are now depreacated, please use new ones instead


This package has no dependencies.

Showing the top 8 GitHub repositories that depend on lz4net:

Repository Stars
DotnetSpider, a .NET Standard web crawling library. It is lightweight, efficient and fast high-level web crawling & scraping framework
Retro hardware libraries in .NET Core with an Angular front end
DataStax C# Driver for Apache Cassandra
A tool to edit many Nintendo file formats
Series of programs (tools) to interact with the Overwatch files.
Micro RPC/REST Framework built on OWIN
Pokémon (Nintendo Switch) ROM Editor & Randomizer
Yandex ClickHouse fully managed .NET client

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated 662,178 3/17/2017 396,581 3/14/2016 70,639 9/25/2015 295,074 4/27/2014 36,131 9/3/2013