Im trying to read bytes from a file, and I can see in a hex editor the values C++ is reading are not the same. Here is the code which reads the data (in this problem, its only r