24 lines
805 B
Java
24 lines
805 B
Java
|
package o;
|
||
|
|
||
|
import com.google.common.primitives.UnsignedBytes;
|
||
|
|
||
|
/* renamed from: o.gmj, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes6.dex */
|
||
|
public final class C15295gmj {
|
||
|
private static final char[] c = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
|
||
|
|
||
|
public static String d(byte[] bArr) {
|
||
|
StringBuffer stringBuffer = new StringBuffer();
|
||
|
for (byte b : bArr) {
|
||
|
char[] cArr = c;
|
||
|
char c2 = cArr[((b & UnsignedBytes.MAX_VALUE) >> 4) & 15];
|
||
|
char c3 = cArr[b & 15];
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
sb.append(Character.toString(c2));
|
||
|
sb.append(c3);
|
||
|
stringBuffer.append(sb.toString());
|
||
|
}
|
||
|
return stringBuffer.toString();
|
||
|
}
|
||
|
}
|