urbanairship-core/src/main/java/com/urbanairship/util/UAStringUtil.java
public static String byteToHex(@NonNull byte[] bytes) {
        StringBuilder hexHash = new StringBuilder();
        for (byte b : bytes) {
            hexHash.append(String.format("%02x", b));
        }
        return hexHash.toString();
    }
/**
     * Converts the bytes into a hex string.
     *
     * @param bytes The byte array.
     * @return A hex string.
     */
Converts the bytes into a hex string.
@param bytes The byte array.
@return A hex string.
Converts the bytes into a hex string . @param bytes The byte array . @return A hex string .
public static String byteToHex(@NonNull byte[] bytes) {
        StringBuilder hexHash = new StringBuilder();
        for (byte b : bytes) {
            hexHash.append(String.format("%02x", b));
        }
        return hexHash.toString();
    }
public static String byteToHex ( @ NonNull byte [ ] bytes ) { StringBuilder hexHash = new StringBuilder ( ) ; for ( byte b : bytes ) { hexHash . append ( String . format ( "%02x" , b ) ) ; } return hexHash . toString ( ) ; }
Converts the bytes into a hex string.
Converts the bytes into a hex string .