for (int i = 0; i < IsoMessageReceived.Length; i++) { IsoMessageForProcessing[i + 2] = IsoMessageReceived[i]; }
int Length = Convert.ToInt32(Input[0]) * 256 + Convert.ToInt32(Input[1]); byte[] ResultBytes = new byte[Length]; string ResultOutput = string.Empty; for (int i = 0; i < Length; i++) { ResultBytes[i] = Input[i + 2]; //Input[i + 2] }
Input
Input[0]
Input[1]
ResultBytes
i
i + 2
i -> 0 1 2 3 4 i + 2 -> 2 3 4 5 6
IsoMessageForProcessing
IsoMessageReceived.Length + 2
Length + 2
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)