I am using type cast to convert QArrayByte as
QByteArray resultArr = QByteArray( reinterpret_cast<char*>ciphertext),ciphertext_len);
how to use const_cast instead of reinterpret_cast.
Aucun commentaire:
Enregistrer un commentaire