From 660532b40e4fdb5a9406ea98586073df297fb71d Mon Sep 17 00:00:00 2001 From: AraHaan Date: Thu, 3 Oct 2024 14:21:46 -0400 Subject: [PATCH 1/3] Update readme.txt --- readme.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/readme.txt b/readme.txt index 0867e3c..0e29be0 100755 --- a/readme.txt +++ b/readme.txt @@ -1,6 +1,11 @@ NOTICE: This repository is not maintained, it is simply a mirror of the original library from ComponentAce. For an active fork, try https://github.com/Elskom/zlib.managed/ +zlib.managed has since been archived as a bug in compression/decompression happens that does not happen +when doing manual p/invokes. As such for .NET 8+ I recommend to use the ZlibSharp nuget package instead +which also adds in simplified ZlibEncoder and ZlibDecorer types that operate on +System.Memory.Span's for performance. + ZLIB.NET: README ================================================== From 345cbb473bbb91cd0fec372a51f26e25dd7e669a Mon Sep 17 00:00:00 2001 From: AraHaan Date: Thu, 3 Oct 2024 14:24:03 -0400 Subject: [PATCH 2/3] Apply suggestions from code review --- readme.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/readme.txt b/readme.txt index 0e29be0..7d9316d 100755 --- a/readme.txt +++ b/readme.txt @@ -1,10 +1,11 @@ NOTICE: This repository is not maintained, it is simply a mirror of the original library from ComponentAce. For an active fork, try https://github.com/Elskom/zlib.managed/ -zlib.managed has since been archived as a bug in compression/decompression happens that does not happen -when doing manual p/invokes. As such for .NET 8+ I recommend to use the ZlibSharp nuget package instead -which also adds in simplified ZlibEncoder and ZlibDecorer types that operate on -System.Memory.Span's for performance. +zlib.managed has since been archived as a bug in compression/decompression has been identified to happen +that does not happen when doing manual p/invokes. This bug also happens in the original ZLIB.NET as well. +As such for .NET 8+ I recommend to use the ZlibSharp nuget package instead which also adds in simplified +ZlibEncoder and ZlibDecorer types that operate on System.Memory.Span's for performance. + ZLIB.NET: README ================================================== From 0c1f88a33b074608b9d695a39606b3c1fec1e473 Mon Sep 17 00:00:00 2001 From: AraHaan Date: Thu, 3 Oct 2024 14:24:29 -0400 Subject: [PATCH 3/3] Apply suggestions from code review --- readme.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/readme.txt b/readme.txt index 7d9316d..9d90f62 100755 --- a/readme.txt +++ b/readme.txt @@ -6,7 +6,6 @@ that does not happen when doing manual p/invokes. This bug also happens in the o As such for .NET 8+ I recommend to use the ZlibSharp nuget package instead which also adds in simplified ZlibEncoder and ZlibDecorer types that operate on System.Memory.Span's for performance. - ZLIB.NET: README ==================================================