This change allows the inflator and deflator streams to use pooled memory buffers, so they don't need to allocate and free buffers every time they are created. The change also frees the buffers on Dispose, so the GC can clean up memory more quickly.
I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.
This change allows the inflator and deflator streams to use pooled memory buffers, so they don't need to allocate and free buffers every time they are created. The change also frees the buffers on Dispose, so the GC can clean up memory more quickly.
I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.