Install via NuGet:
Install-Package Zlib-ng.NET- Thin .NET wrapper over the native zlib-ng library
- Span-based
Compress/Decompresswith array, pointer, andnintoverloads
usingOodleDotNet;usingvarzlib=newZlibng(@"C:\Test\zlib-ng2.dll");varcompressedBuffer=System.IO.File.ReadAllBytes(@"C:\Test\Example.bin");vardecompressedBuffer=newbyte[decompressedSize];varresult=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.