This package is a .NET wrapper arround the C lz4 library.
LZ4 has been written by Yann Collet and the original sources can be found on

LZ4 is a very fast lossless compression algorithm, providing compression speed at 400 MB/s per core, with near-linear scalability for multi-threaded applications. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems.

The original sources (r127) are recompiled for .NET (VC++ /clr:pure).

The stream implementation is compliant with the LZ4 Framing Format (v1.4.1).

(.NET 3.5 / 4.0 / 4.5)
lz4.x86.dll - lz4 x86 version
lz4.x64.dll - lz4 x64 version
lz4.AnyCPU.loader.dll - Any CPU wrapper, automatically loads x86 or x64

the .NET 3.5 version requires the Microsoft Visual C++ 2008 runtime (x86/x64)
the .NET 4.0/4.5 version requires the Microsoft Visual C++ 2013 runtime (x86/x64)

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

Release Notes

Updated the lz4 stream implementation
- implemented Read mode for compression
- implemented Write mode for decompression

- .NET 3.5 assemblies were not signed,
- NuGet install script for web projects


This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.12 1,191 6/11/2019
1.0.11 11,663 10/15/2018
1.0.10 926 12/5/2017
1.0.9 1,273 5/28/2017 684 3/4/2017
1.0.8 281 3/1/2017
1.0.7 363 2/12/2017 467 10/30/2016
1.0.5 1,476 5/16/2015
1.0.4 630 2/22/2015
1.0.3 390 2/14/2015
1.0.2 439 2/14/2015
Show less