byte array to decimal convertion in java

前端 未结 4 1048
傲寒
傲寒 2020-12-22 03:59

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

4条回答
  •  情歌与酒
    2020-12-22 04:53

    Here's something I found that may be of use to you http://blog.codebeach.com/2008/02/convert-hex-string-to-integer-and-back.html

提交回复
热议问题