Hello!

In my application I need to download a binary file from a server and use its contents. I was already able to download it and save it into a binary file, so it seems that the downloaded part is OK.

The problem is that I don't know what is the best option: to download the file in a .bin and open it with Qt and read it, or to save the data into a internal buffer and to use this buffer. Interesting to notice is that I don't need the file in my PC.

In case I donwload and save it in a buffer inside my software, which data "container" is the best to storage the bin data? QByteArray? And which functions and classes should I use to read this data and work with it given the fact is binary?


Thanks!

Momergil