02-23-2013, 11:34 PM
reader.BaseStream.Position < reader.BaseStream.Length
reader.ReadInt32(); Read 4 bytes and push the position + 4
So this for is wrong
while (binaryReader.BaseStream.Position < binaryReader.BaseStream.Length)
{
int EventID = binaryReader.ReadInt32();
int EventEnable = binaryReader.ReadInt32();
}

