public GZipOutputStreamRandomAccess(OutputStream out,int size) throws IOException {
  super(out,new Deflater(Deflater.DEFAULT_COMPRESSION,true),size,true);
  writeHeader();
  crc.reset();
}

public GZipOutputStreamRandomAccess ( OutputStream out , int size ) throws IOException { super ( out , new Deflater ( Deflater . DEFAULT_COMPRESSION , true ) , size , true ) ; writeHeader ( ) ; crc . reset ( ) ; }
creates a new output stream with the specified buffer size and flush mode .
