PDA

View Full Version : How to read record from .tar file to Qbyte Array



Anamika s
7th June 2021, 08:22
Hi team,
i am new to QT
i have a requirement where i have to read the contents of file named "xyz.tar" to QbyteArray.

After reading to QbyteArray, i have create a file with same name in other location and copy the contents from Qbyte array to new file .but i can copy only 8 bytes at a time from QbyteArray to new file.

is there a way i can read the contents of .tar file in Qt?


Regards,
Anamika

d_stranz
7th June 2021, 15:20
You don't show us any code, so how are we to help you?


but i can copy only 8 bytes at a time from QbyteArray to new file.

This does not make any sense, but with no code, no way to know what is wrong.