I have an array of bytes. I want each byte String of that array to be converted to its corresponding hexadecimal values.
Is there any function in Java to convert a b
BigInteger n = new BigInteger(byteArray); String hexa = n.toString(16));