Install via NuGet:
Install-Package Zlib-ng.NET- Thin .NET wrapper over the native zlib-ng library
- Span-based
Compress/Decompresswith array, pointer, andnintoverloads
using OodleDotNet;
using var zlib = new Zlibng(@"C:\Test\zlib-ng2.dll");
var compressedBuffer = System.IO.File.ReadAllBytes(@"C:\Test\Example.bin");
var decompressedBuffer = new byte[decompressedSize];
var result = zlib.Decompress(compressedBuffer, decompressedBuffer);Contributions are welcome and appreciated!
Whether it's fixing a typo, suggesting an improvement, or submitting a pull request — every bit helps.
This project is licensed under the MIT License.
⭐️ Star the repo if you find it useful!
Feel free to open an issue if you have any questions or feedback.