ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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.