Reading Client data
#2

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();

}



Messages In This Thread
[No subject] - by Nikolee - 02-23-2013, 08:35 PM
[No subject] - by luoo - 02-23-2013, 11:34 PM
[No subject] - by Nikolee - 02-24-2013, 12:29 PM
[No subject] - by luoo - 02-24-2013, 02:05 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)