Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Decompress Data

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Fri, 7 Oct 2011 09:34:53 -0600
On Fri, Oct 07, 2011 at 11:31:24AM +0200, Marcel Haas wrote:

>  I have some packets witch are compress witz zlib.
>  I want to uncompress them.

Take a look at the tvb_uncompress() or tvb_child_uncompress() functions 
in epan/tvbuff.c.  An example of tvb_child_uncompress() is in the HTTP 
dissector, epan/dissectors/packet-http.c.