Useful compression utility for quickly and easily (de)compressing strings and byte[] arrays.
Can be used in ASP.NET Core apps using the included dependency injection container (under Startup.cs call services.AddTransient
and register the compression utility service into the DI container).
This library is built as a netstandard2.1 class library and available through NuGet.
- Currently, there are a few compression implementations available such as GZip (making use of
GZipStream
), a Brotli implementation as well as LZMA (uses the managed C# API). But more can be added in the future by implementing theICompressionUtility
interface.