Code example for GZIPOutputStream

Methods: flush

0
        gzip.close();
    } 
 
    @Override 
    public void flush() throws IOException { 
        gzip.flush();
    } 
 
    @Override 
    public void write(byte b[]) throws IOException {
        write(b, 0, b.length);
    } 
 
    @Override 
    public void write(byte b[], int off, int len) throws IOException {
        gzip.write(b, off, len);
    } 
 
    @Override 
    public void write(int b) throws IOException {
        gzip.write(b);