if (count + add >= buf.length)
if (count + add > buf.length)
  private void resize (int add)  {    if (count + add >= buf.length)      {	int newlen = buf.length * 2;	if (count + add > newlen)	  newlen = count + add;	byte[] newbuf = new byte[newlen];	System.arraycopy(buf, 0, newbuf, 0, count);	buf = newbuf;      }  }