1024jp / GzipSwift

Swift package that enables gzip/gunzip Data using zlib
MIT License
544 stars 134 forks source link

Break immediately when `inflate` exactly reaches the end of the buffer. #56

Closed GetToSet closed 1 year ago

GetToSet commented 2 years ago

This PR adds a extra Z_STREAM_END check for inflate status to break immediately when it exactly reaches the end of the output buffer.

1024jp commented 1 year ago

Thank you!