ISO10646Convert(nsFontCharSetInfo* aSelf, XFontStruct* aFont,
ISO10646Convert(nsFontCharSetXlibInfo* aSelf, XFontStruct* aFont,
ISO10646Convert(nsFontCharSetInfo* aSelf, XFontStruct* aFont,                const PRUnichar* aSrcBuf, PRInt32 aSrcLen,                char* aDestBuf, PRInt32 aDestLen){  aDestLen /= 2;  if (aSrcLen > aDestLen) {    aSrcLen = aDestLen;  }  if (aSrcLen < 0) {    aSrcLen = 0;  }  XChar2b* dest = (XChar2b*) aDestBuf;  for (PRInt32 i = 0; i < aSrcLen; i++) {    dest[i].byte1 = (aSrcBuf[i] >> 8);    dest[i].byte2 = (aSrcBuf[i] & 0xFF);  }  return (int) aSrcLen * 2;}