Convert Hex To Binary using QByteArray class

  • Hi , i want to read a binary file using QFile
    i converted the QByteArray result of QFile::readAll() function to hex format but i dont know how to convert the hex format to Binary.
    Can anybody help me for this ??

  • Moderators

    Hi and welcome to devnet

    Check out fromHex

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.