C++ (Qt)QString readString(QFile& f, int count) { return QString(f.read(count)).trimmed();} void readFloatbuffer(QFile &f, float* f_buffer, int len) { f.read((char*)f_buffer, len * sizeof(*f_buffer));} void readInt32buffer(QFile &f, int* i_buffer, int len) { f.read((char*)i_buffer, len * sizeof(*i_buffer));} int readInt32(QFile &f) { return f.read(sizeof(int)).toInt();} float readFloat(QFile &f) { return f.read(sizeof(float)).toFloat();}...
C++ (Qt)QString readString(QFile& f, int count) { return QString(f.read(count)).trimmed();}
C++ (Qt)int readInt32(QFile &f) { return f.read(sizeof(int)).toInt();}
C++ (Qt)QString readString(QFile& f, int count) { return QString::fromAscii(f.read(count).constData(), count).trimmed();}