NS_ConvertUCS2toUTF8( const PRUnichar* aString ) { Append( aString, ~PRUint32(0) ); }
NS_ConvertUCS2toUTF8::NS_ConvertUCS2toUTF8( const nsAReadableString& aString ) { nsReadingIterator<PRUnichar> start(aString.BeginReading()); nsReadingIterator<PRUnichar> end(aString.EndReading());  while (start != end) { nsReadableFragment<PRUnichar> frag(start.fragment()); Append(frag.mStart, frag.mEnd - frag.mStart); start += start.size_forward(); } }
      NS_ConvertUCS2toUTF8( const PRUnichar* aString )        {          Append( aString, ~PRUint32(0) /* MAXINT */);        }