[jdev] Re: Stream compression with jzlib?

Gaston Dombiak gaston at jivesoftware.com
Mon Feb 27 08:33:14 CST 2006


Hey Vinod,

Wildfire also uses jzlib for stream compression. Since Wildfire is an open 
source server you can take a peek at the code.

Regards,

  -- Gato

"Vinod Panicker" <vinod.p at gmail.com> wrote in message 
news:a8f18ca30602262319n2d4f5114m214c2248c76c3243 at mail.gmail.com...
On 2/27/06, Vinod Panicker <vinod.p at gmail.com> wrote:
> Hi,
>
> Has anyone successfully managed to do Stream Compression with jzlib?
> I've been trying unsuccessfully for the past few days... Its not
> matching the output generated by the original C zlib library, nor is
> jzlib able to decompress its own compressed output.
>
> Is it broken?

Got it working now :)

Anyone else who uses this, don't use inflateInit() with an argument.
Use the no argument method.

Regards,
Vinod.






More information about the JDev mailing list