- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
19 lines
570 B
Java
19 lines
570 B
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.util.Base64;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzatr {
|
|
public static String zza(byte[] bArr, boolean z) {
|
|
return Base64.encodeToString(bArr, true != z ? 2 : 11);
|
|
}
|
|
|
|
public static byte[] zzb(String str, boolean z) throws IllegalArgumentException {
|
|
byte[] decode = Base64.decode(str, 2);
|
|
if (decode.length != 0 || str.length() <= 0) {
|
|
return decode;
|
|
}
|
|
throw new IllegalArgumentException("Unable to decode ".concat(str));
|
|
}
|
|
}
|