Initial commit

This commit is contained in:
2025-05-13 19:24:51 +02:00
commit a950f49678
10604 changed files with 932663 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package com.ubtrobot.jimu.bluetooth.utils;
/* loaded from: classes2.dex */
public class ByteHexHelper {
public static String a(byte[] bArr) {
StringBuilder sb = new StringBuilder("");
if (bArr == null || bArr.length <= 0) {
return "";
}
for (byte b : bArr) {
String hexString = Integer.toHexString(b & 255);
if (hexString.length() < 2) {
sb.append(0);
}
sb.append(hexString);
sb.append(" ");
}
return sb.toString();
}
}