ZlibSharp 1.2.13.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package ZlibSharp --version 1.2.13.1                
NuGet\Install-Package ZlibSharp -Version 1.2.13.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ZlibSharp" Version="1.2.13.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ZlibSharp --version 1.2.13.1                
#r "nuget: ZlibSharp, 1.2.13.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ZlibSharp as a Cake Addin
#addin nuget:?package=ZlibSharp&version=1.2.13.1

// Install ZlibSharp as a Cake Tool
#tool nuget:?package=ZlibSharp&version=1.2.13.1                

Package Description

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.13.4 974 7/15/2024
1.2.13.3 1,894 12/26/2023
1.2.13.2 451 6/26/2023
1.2.13.1 161 6/25/2023
1.2.13 749 12/7/2022

Added gzip support and more control over how compression/decompression is done based on the input Window Bits.

     For simplicity reasons, the Window Bits are stored inside of a ZlibWindowBits enum.

     Added types:
     - ZlibCompressionStrategy
     - ZlibWindowBits

     Added members in MemoryZlib:
     - IsCompressedByGZip
       - Note: There is no version of the function for raw deflate streams due to the fact that they lack a header and a footer unline zlib/gzip compressed data.
     - GetCompressedSize (works with deflate/zlib/gzip compressed data) No more worrying about over or even under allocating the buffers!!!
     - GetDecompressedSize (works with deflate/zlib/gzip compressed data) No more worrying about over or even under allocating the buffers!!!

     Changed members in MemoryZlib:
     - Compress (both versions) adding optional parameters. Please recompile any existing code using these methods as the original would not be found if not recompiled.
     - Decompress (both versions) adding optional parameters. Please recompile any existing code using these methods as the original would not be found if not recompiled.

     Internal Changes:
     - Migrated from deflateInit_/inflateInit_ to deflateInit2_/inflateInit2_ zlib apis due to needing more control over the compressed data.

     The result:
     - Performance improvement vs using System.IO.Compression.DeflateStream, System.IO.Compression.ZlibStream, and System.IO.Compression.GZipStream and supports more control over how to compress the data unlike those streams which lack said support.