ZlibWithDictionary 2.1.1
See the version list below for details.
dotnet add package ZlibWithDictionary --version 2.1.1
NuGet\Install-Package ZlibWithDictionary -Version 2.1.1
<PackageReference Include="ZlibWithDictionary" Version="2.1.1" />
paket add ZlibWithDictionary --version 2.1.1
#r "nuget: ZlibWithDictionary, 2.1.1"
// Install ZlibWithDictionary as a Cake Addin #addin nuget:?package=ZlibWithDictionary&version=2.1.1 // Install ZlibWithDictionary as a Cake Tool #tool nuget:?package=ZlibWithDictionary&version=2.1.1
This is a plain wrapper around DotNetZip that allows Deflate compression with preset dictionary.
This is particularly useful for compressing small byte-sequences (diminishing returns beyond 32k) where the content being compressed follows predictable patterns such a web-service results following a known schema or html documents.
The best dictionary is one that is contains substrings that are likely to occur in the input - the longer the matching substrings, and the more likely they occur in the input, the better.
The only two methods provided are DeflateCompression.ZlibCompressWithDictionary and Deflate.ZlibDecompressWithDictionary (intellisense explains the parameters).
Per the DotNetZip docs, this compression is compatible with the deflate RFC1950 as implemented by the common zlib library (ref: http://zlib.net/).
(Note that although gzip uses the same algorithm, it uses a slightly different and thus incompatible header.)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- DotNetZip (>= 1.10.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Update DotNetZip