LZ4 pinvoke library for .NET.
Joveler.Compression.LZ4 can be installed via nuget.
Please keep in mind that Joveler.Compression.LZ4
have been uploaded to the nuget because it supports many customizable options, not best in performance.
Decompression of Joveler.Compression.LZ4
is similar or slightly faster than the pure C# implementation, K4os.Compression.LZ4. In the meanwhile the compression is about 50% faster to 2000% slower. Please be careful about performance when using it on production.
- LZ4FrameStream, the stream for lz4 frame format.
- .NET Standard 2.1 (.NET Core 3.0+)
- .NET Standard 2.0 (.NET Framework 4.6.1+, .NET Core 2.0+)
- .NET Framework 4.5.1
Platform | Architecture | Tested |
---|---|---|
Windows | x86 | Yes |
x64 | Yes | |
arm64 | Yes | |
Linux | x64 | Yes |
armhf | Yes | |
arm64 | Yes | |
macOS | x64 | Yes |
macOS arm64 should be supported on theory, but I do not have access to an Apple Sillicon device to test. Please contribute if you have an ARM64 macOS machine.
Architecture | Distribution | Note |
---|---|---|
x64 | Ubuntu 18.04 | Tested on AppVeyor CI |
armhf | Debian 10 | Emulated on QEMU |
arm64 | Debian 10 | Emulated on QEMU |
- 1.9.1
- 1.9.2
- 1.9.3 (Included)
See USAGE.md.
See CHANGELOG.md.
Joveler.Compression.LZ4
is licensed under BSD 2-Clause license.