I am new to java. I receive the UDP data in byte array. Each elements of the byte array have the hexadecimal value. I need to convert each element to integer.
How to
Manually: Iterate over the elements of the array and cast them to int or use Integer.valueOf() to create integer objects.
int
Integer.valueOf()