From: Eric Hodel Date: 2009-04-06T14:50:24+09:00 Subject: Re: zlib Deflate to java.util.zip inflate problem On Apr 4, 2009, at 09:45, Dom wrote: > compressedBroadcast = Zlib::Deflate.new(nil, - > Zlib::MAX_WBITS).deflate(binaryBroadcastData, Zlib::FINISH) I think you're asking for a gzip stream here with your -MAX_WBITS