Compatibility Members for QTextEncoder

以下成员源于类 QTextEncoder are part of the Qt compatibility layer. We advise against using them in new code.

公共函数

QByteArray fromUnicode (const QString & uc , int & lenInOut )

成员函数文档编制

QByteArray QTextEncoder:: fromUnicode (const QString & uc , int & lenInOut )

这是重载函数。

转换 lenInOut 字符 (非字节) 从 uc ,并返回结果按 QByteArray . The number of characters read is returned in the lenInOut 参数。