Hello All,
I have written this function which is as follows:
public static long ByteArrayToLong(byte[] input)
{
long accumulator=0;
byte counter = 0;
for (counter=0; counter<input.Length -1; counter++)
accumulator += (input[counter] & 0xff) << (8 * counter);
return accumulator;
}
Could anybody tell me how I can do this in lambda please?
Many thanks in advance.