The testing.res file is 240MB size. I want to read it. But im getting the error on this line:
int v = br.ReadInt32();
EndOfStreamException
The binary reader is not pointing to the start of the stream.
Use this code before reading the integer value:
br.BaseStream.Seek(0, SeekOrigin.Begin);