- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
51 lines
1.3 KiB
Java
51 lines
1.3 KiB
Java
package com.google.android.gms.internal.auth;
|
|
|
|
import java.nio.ByteBuffer;
|
|
import java.nio.charset.Charset;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzfa {
|
|
static final Charset zza = Charset.forName("US-ASCII");
|
|
static final Charset zzb = Charset.forName("UTF-8");
|
|
static final Charset zzc = Charset.forName("ISO-8859-1");
|
|
public static final byte[] zzd;
|
|
public static final ByteBuffer zze;
|
|
public static final zzej zzf;
|
|
|
|
static {
|
|
byte[] bArr = new byte[0];
|
|
zzd = bArr;
|
|
zze = ByteBuffer.wrap(bArr);
|
|
int i = zzej.zza;
|
|
zzeh zzehVar = new zzeh(bArr, 0, 0, false, null);
|
|
try {
|
|
zzehVar.zza(0);
|
|
zzf = zzehVar;
|
|
} catch (zzfb e) {
|
|
throw new IllegalArgumentException(e);
|
|
}
|
|
}
|
|
|
|
public static int zza(boolean z) {
|
|
return z ? 1231 : 1237;
|
|
}
|
|
|
|
public static int zzb(int i, byte[] bArr, int i2, int i3) {
|
|
for (int i4 = 0; i4 < i3; i4++) {
|
|
i = (i * 31) + bArr[i4];
|
|
}
|
|
return i;
|
|
}
|
|
|
|
public static Object zzc(Object obj, String str) {
|
|
if (obj != null) {
|
|
return obj;
|
|
}
|
|
throw new NullPointerException("messageType");
|
|
}
|
|
|
|
public static String zzd(byte[] bArr) {
|
|
return new String(bArr, zzb);
|
|
}
|
|
}
|