Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzgvf.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

23 lines
790 B
Java

package com.google.android.gms.internal.ads;
/* loaded from: classes3.dex */
public final class zzgvf {
public static byte[] zza(String str) {
if (str.length() % 2 != 0) {
throw new IllegalArgumentException("Expected a string of even length");
}
int length = str.length() / 2;
byte[] bArr = new byte[length];
for (int i = 0; i < length; i++) {
int i2 = i + i;
int digit = Character.digit(str.charAt(i2), 16);
int digit2 = Character.digit(str.charAt(i2 + 1), 16);
if (digit == -1 || digit2 == -1) {
throw new IllegalArgumentException("input is not hexadecimal");
}
bArr[i] = (byte) ((digit * 16) + digit2);
}
return bArr;
}
}