You can use ReadWrite from the beginning, or create another QDataStream for reading