Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Convert Hex To Binary using QByteArray class

Convert Hex To Binary using QByteArray class

Scheduled Pinned Locked Moved General and Desktop
qt 5qbytearrayhex formatbinary format
2 Posts 2 Posters 2.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Arshia
    wrote on last edited by
    #1

    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 ??

    You can't solve your current problems with your current thinking. Your current problems are the result of your current thinking.
    Albert Einstein

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      Hi and welcome to devnet

      Check out fromHex

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved