QFile file( "file.bin" );file.open( IO_ReadOnly )QDataStream stream( &file );struct stnameAllFiles { Q_UINT32 dwFileSize; Q_UINT64 qwLastTime; Q_UINT16 wNameLenght; Q_UINT8 iTypeRecord; char Record[256];} stAllFiles;for (i=0;i<2000000;i++){ stream >> stAllFiles.dwFileSize; stream >> stAllFiles.qwLastTime; stream >> stAllFiles.wNameLenght; stream >> stAllFiles.iTypeRecord; stream.readRawBytes(stAllFiles.Record,stAllFiles.wNameLenght);}