Need to read 4 bytes into a long int format. Both inFileDrs and outFileDrs are in ios::binary form. Is this the correct way to do this?
The original piece of code was
var tableCount = reader.ReadUInt32();
writer.Write(tableCount);
unsigned long int tableCount, firstFilePos;
inFileDrs >> tableCount;
outFileDrs << tableCount;