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

Zabrane Mickael <>
Thu Aug 2 17:19:34 CEST 2012


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