DotNetCompression is a real-time compression library in C# that provides ultra fast LZF4 streams, faster-than-native DEFLATE/ZLIB/GZIP streams and LZMA/BZIP2 streams for maximum compression.
| LZF4 | DEFLATE | ZLIB | GZIP | BZIP2 | LZMA | |
|---|---|---|---|---|---|---|
| Lossless data compression | ||||||
| Streaming interface | ||||||
| Byte array interface | ||||||
| Compression levels | 9 | 9 | 9 | 9 | 9 | |
| Bypasses incompressible data | ||||||
| Detects data corruption | ||||||
| Can store filename and other metadata | ||||||
| Can sync flush | ||||||
| Suitable for real-time compression | ||||||
| Suitable for transport compression | ||||||
| Suitable for resource-constrained use | ||||||
| Throughput rate | ||||||
| Compression ratio |
| DNC is available on the following | |
|---|---|
PLATFORMS |
|
| .NET Framework 4, 4.5 and 4.6 | |
| .NET Framework 3.5 | |
| .NET Compact Framework 3.5 | |
| Xamarin.iOS | |
| Xamarin.Android | |
| Xamarin.Mac | |
| Windows Phone Silverlight 8 and 8.1 | |
| Windows Phone 7.1 | |
| Xbox 360 | |
| Silverlight 5 | |
| Mono | |
| Portable Class Libraries |