I checked the zlib example at https://zlib.net/zpipe.c and I’ve seen that chunk size of 16384 bytes is used. But what is minimal possible chunk size for output deflate data could be used? Can I use for example output buffer with size 1024 or 2048 bytes? And what is the minimal possible returned avail_out after deflate if I use these values?
I tried to search for this information but could not find any information.
Vladislav Ermachenkov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.