if (len == 0 || len == -1) break; out.write(buf, 0, len); }
if (len > 0) out.write(buf, 0, len); } while (! def.needsInput());
  protected void deflate () throws IOException  {    while (true)      {	int len = def.deflate(buf, 0, buf.length);	if (len == 0 || len == -1)	  break;	out.write(buf, 0, len);      }  }