PRUint32 selflen = NS_StringGetData(*this, &cself); PRUint32 otherlen = NS_StringGetData(other, &cother);
PRUint32 selflen = NS_CStringGetData(*this, &cself); PRUint32 otherlen = NS_CStringGetData(other, &cother);
  NS_HIDDEN_(PRBool) Equals( const self_type &other ) const {    const char_type *cself;    const char_type *cother;    PRUint32 selflen = NS_StringGetData(*this, &cself);    PRUint32 otherlen = NS_StringGetData(other, &cother);    if (selflen != otherlen)      return PR_FALSE;    return memcmp(cself, cother, selflen * sizeof(char_type)) == 0;  }