Less convoluted conversion of a list of bytes to integer

After a few hours of sleep I do remember basic computing