以下成员源于类 QTextEncoder are part of the Qt compatibility layer. We advise against using them in new code.
| QByteArray | fromUnicode (const QString & uc , int & lenInOut ) |
这是重载函数。
转换 lenInOut 字符 (非字节) 从 uc ,并返回结果按 QByteArray . The number of characters read is returned in the lenInOut 参数。