code: private void skipHeaders(int flag) {
  		// trying to skip optional gzip file members if any is present
  		if ((flag & FEXTRA) != 0) {
  			skipExtra(flag);
  		} else if ((flag & FNAME) != 0) {
  			skipTerminatorByte(flag, FNAME);
  		} else if ((flag & FCOMMENT) != 0) {
  			skipTerminatorByte(flag, FCOMMENT);
  		} else if ((flag & FHCRC) != 0) {
  			skipCRC16(flag);
  		}
  	}
docs: region skip header fields