Qt Framework implements many convenience functions inside QByteArray for quickly handling of raw data. One of the widely used encoding methods is Base64 and if you’re with Qt, you can easily convert any string (QString) to/from Base64.
Continue reading “How to Convert Data to/from Base64 in Qt”How to Convert Unreadable Binary to Readable QString
Web developers are quite familiar with Base64 and its usage. To put it simply, whenever to want to store, transfer (send or receive) or do anything else with the contents of a binary file (in this example, an image file) you can use Base64 encoding to simplify things by converting unreadable binary contents to a readable string.
Continue reading “How to Convert Unreadable Binary to Readable QString”