- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
23 lines
686 B
Java
23 lines
686 B
Java
package com.amazonaws.util;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class BinaryUtils {
|
|
public static String toHex(byte[] bArr) {
|
|
StringBuilder sb = new StringBuilder(bArr.length * 2);
|
|
for (byte b : bArr) {
|
|
String hexString = Integer.toHexString(b);
|
|
if (hexString.length() == 1) {
|
|
sb.append("0");
|
|
} else if (hexString.length() == 8) {
|
|
hexString = hexString.substring(6);
|
|
}
|
|
sb.append(hexString);
|
|
}
|
|
return StringUtils.lowerCase(sb.toString());
|
|
}
|
|
|
|
public static String toBase64(byte[] bArr) {
|
|
return Base64.encodeAsString(bArr);
|
|
}
|
|
}
|