Logo Search packages:      
Sourcecode: qca version File versions  Download package

QString Base64::encodeString ( const QString &  s ) [static]

Encodes string s and returns the result as a string.

Definition at line 166 of file base64.cpp.

References arrayToString().

      QCString c = s.utf8();
      int len = c.length();
      QByteArray b(len);
      memcpy(b.data(), c.data(), len);
      return arrayToString(b);

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index