public static String toHex(Byte[] bytes) {
        return toHex(ArrayUtils.toPrimitive(bytes));
    }
Can be used to display a byte[] as hex string.

@param bytes to be displayed.
@return hexed string.
plc4j/drivers/mock/src/main/java/org/apache/plc4x/java/mock/util/HexUtil.java