if (tempBuf0.length() > 4) { tempBuf0 = tempBuf0.substr(0, 4); strcpy(header->version, tempBuf0.c_str()); }
//memcpy(header->version, buffer+4, 4);
//cout << "here " << header->version << '\t' << in.tellg() << endl;
if (tempBuf0.length() > 4) { tempBuf0 = tempBuf0.substr(0, 4); strcpy(header->version, tempBuf0.c_str()); }
//memcpy(header->version, buffer+4, 4);
//cout << "here " << header->version << '\t' << in.tellg() << endl;