richgel999 / miniz

miniz: Single C source file zlib-replacement library, originally from code.google.com/p/miniz
MIT License
2.16k stars 321 forks source link

How to handle the output size of the buffer? #272

Open filzek opened 1 year ago

filzek commented 1 year ago

Hi, for the uncompress routine it should have an option to return only the lenght needed to the output, so we can make the correct malloc for it as well.