Code example for GZIPInputStream

0
 
                            if (b0 == 1)
                            { 
                                abyte = new byte[j1 - 1];
                                this.dataFile.read(abyte);
                                return new DataInputStream(new BufferedInputStream(new GZIPInputStream(new ByteArrayInputStream(abyte))));
                            } 
                            else if (b0 == 2)
                            { 
                                abyte = new byte[j1 - 1];
                                this.dataFile.read(abyte);
                                return new DataInputStream(new BufferedInputStream(new InflaterInputStream(new ByteArrayInputStream(abyte))));
                            } 
                            else 
                            { 
                                return null; 
                            } 
                        } 
                    } 
                } 
Stop searching for code, let great code find you!  Add Codota to your java IDE