package com.ifpdos.autotest.k0.c;

import com.seewo.libmcuservice.constant.IMcuConstants;

/* JADX INFO: compiled from: ControlHelper.java */
/* JADX INFO: loaded from: classes.dex */
public class a {
    public static String a(byte[] bArr) {
        StringBuilder sb = new StringBuilder();
        for (byte b2 : bArr) {
            String hexString = Integer.toHexString(b2 & IMcuConstants.DEFAULT_VALUE);
            sb.append("0x");
            if (hexString.length() == 1) {
                sb.append("0");
            }
            sb.append(hexString);
            sb.append(" ");
        }
        return sb.toString();
    }
}
