108109110111112113114115116117118
realIo = stream; try { // don't close realIO ioInputStream = new IOInputStream(realIo); io = new GZIPInputStream(ioInputStream, 512, false); // JRUBY-4502 // CRuby expects to parse gzip header in 'new'. io.readHeader();
24252627282930
* @author Alexey Andreev <konsoletyper@gmail.com> */ public class TGZIPInputStream extends TInflaterInputStream { public TGZIPInputStream(InputStream in, int size) throws IOException { super(in); this.in = new GZIPInputStream(in, size, false); }
29303132333435
this.in = new GZIPInputStream(in, size, false); } public TGZIPInputStream(InputStream in) throws IOException { super(in); this.in = new GZIPInputStream(in); }