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

QByteArray Base64::stringToArray ( const QString &  s ) [static]

Decodes string s and returns the result as an array.

Definition at line 152 of file base64.cpp.

References decode().

            return QByteArray();
      const char *c = s.latin1();
      int len = strlen(c);
      QByteArray b(len);
      memcpy(b.data(), c, len);
      QByteArray a = decode(b);
      return a;

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index