ArraryHelper.cs IndexOutOfRangeException in extractInteger windows 7 64bit
Brought to you by:
chrismorgan,
tamirgal
public static int extractInteger(byte[] bytes, int pos, int cnt)
int value_Renamed = 0;
for (int i = 0; i < cnt; i++)
value_Renamed = ((bytes[pos + cnt - i - 1] & 0xff) << 8 * i); <- IndexOutOfRangeException
NAME VALUE
bytes {byte[0x000000]}
pos 0x0000000c
cnt 0x00000002
i 0x00000000
value_Renamed 0x00000000
Using the an example pcap file test_stream.pcap or name other pcap file I am always having the same exception in my windows 7 64bit visual studio 2012. I am using Example8.ReadFile btw...
Cheers
Adam
Anonymous