Adding Byte values inside a ARRAY
Posted: Thu Dec 09, 2021 10:28 am
Hello together,
may someone can help me.
I would like to sum all byte values inside a string or byte array.
Ok I can do this byte to byte.
Example Byte String/ARRAY: Test_byte[5]
sum_byte_int = Test_byte[0] + Test_byte[1] + Test_byte[2]......and so on!!
But I´m looking for a more elegant way to do it.
BR
Dirk
may someone can help me.
I would like to sum all byte values inside a string or byte array.
Ok I can do this byte to byte.
Example Byte String/ARRAY: Test_byte[5]
sum_byte_int = Test_byte[0] + Test_byte[1] + Test_byte[2]......and so on!!
But I´m looking for a more elegant way to do it.
BR
Dirk