what-the-bank/sources/o/C15190gjk.java

41 lines
1.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.nio.charset.Charset;
/* renamed from: o.gjk, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C15190gjk {
private static Charset a = C15192gjm.a;
private static final char[] b = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};
private final Charset c = a;
private static char[] d(byte[] bArr) {
char[] cArr = b;
int length = bArr.length;
char[] cArr2 = new char[length << 1];
int i = 0;
int i2 = 0;
while (i2 < length) {
byte b2 = bArr[i2];
cArr2[i] = cArr[(b2 & 240) >>> 4];
cArr2[i + 1] = cArr[b2 & 15];
i2++;
i += 2;
}
return cArr2;
}
public static String a(byte[] bArr) {
return new String(d(bArr));
}
public final String toString() {
StringBuilder sb = new StringBuilder();
sb.append(super.toString());
sb.append("[charsetName=");
sb.append(this.c);
sb.append("]");
return sb.toString();
}
}