[erlang-questions] zlib: how many bytes were used during the uncompression (one call of zlib:inflate/2)

Zabrane Mickael <>
Thu Aug 2 23:18:38 CEST 2012

Need help on this please!

On Aug 2, 2012, at 5:19 PM, Zabrane Mickael wrote:

> Hi guys,
> I'm playing a bit with the zlib module today.
> Let say I wan to uncompress a GzipData binary with zlib:inflate/2:
> InflatedData = zlib:inflate(Z, GzipData).
> In case of success, I want to know how many bytes from GzipData were used
> internally to get the InflatedData?
> Regards,
> Zabrane

More information about the erlang-questions mailing list