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

QString Base64::arrayToString ( const QByteArray &  a ) [static]

Encodes array a and returns the result as a string.

Definition at line 141 of file base64.cpp.

References encode().

Referenced by encodeString().

{
      QByteArray b = encode(a);
      QCString c;
      c.resize(b.size()+1);
      memcpy(c.data(), b.data(), b.size());
      return QString::fromLatin1(c);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index