A pure C# portable class library (PCL) implementation of high performance LZ4 compression algorithm, with streaming interface (System.IO.Stream derived).
It includes a High Compression (HC) codec variant, which is slower than the standard LZ4 codec, but provides a better compression ratio.
This library targets .NET 4.0, Windows Store, Windows Phone 8, and supports use in Xamarin.Android and Xamarin.iOS, implementations of Mono for mobile devices.
When methods are called, it automatically chooses the 32 or 64-bit word size implementations, whichever is fastest for the operation.
This library is optimised for high performance, enabled through use of 'unsafe' code blocks: single-thread speeds of >500 MB/s compression (and faster still decompression) are available with only modest hardware.
Install-Package LZ4PCL -Version 1.0.0
dotnet add package LZ4PCL --version 1.0.0
<PackageReference Include="LZ4PCL" Version="1.0.0" />
paket add LZ4PCL --version 1.0.0
This package has no dependencies.
This package is not used by any popular GitHub repositories.