Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Convert QByteArray to std::istream or std::ifstream
sayan275 last edited by
How can I convert a QByteArray to std::istream or std::ifstream? Without saving QByteArray in a filename. I want to create a istream from the QByteArray, on the runtime, without saving a physical file in memory of QByteArray.
I found that there are so many ways to do the opposite thing..ie, istream to QByteArray.
Not really able to make-out how to do the opposite thing.