119 lines
3.8 KiB
Java
119 lines
3.8 KiB
Java
package com.google.android.gms.internal.p002firebaseauthapi;
|
|
|
|
import java.io.IOException;
|
|
import java.nio.charset.Charset;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes2.dex */
|
|
public class zzabz extends zzaby {
|
|
protected final byte[] zza;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public zzabz(byte[] bArr) {
|
|
bArr.getClass();
|
|
this.zza = bArr;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzacc
|
|
public final boolean equals(Object obj) {
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof zzacc) || zzd() != ((zzacc) obj).zzd()) {
|
|
return false;
|
|
}
|
|
if (zzd() == 0) {
|
|
return true;
|
|
}
|
|
if (obj instanceof zzabz) {
|
|
zzabz zzabzVar = (zzabz) obj;
|
|
int zzm = zzm();
|
|
int zzm2 = zzabzVar.zzm();
|
|
if (zzm != 0 && zzm2 != 0 && zzm != zzm2) {
|
|
return false;
|
|
}
|
|
int zzd = zzd();
|
|
if (zzd > zzabzVar.zzd()) {
|
|
throw new IllegalArgumentException("Length too large: " + zzd + zzd());
|
|
}
|
|
if (zzd > zzabzVar.zzd()) {
|
|
throw new IllegalArgumentException("Ran off end of other: 0, " + zzd + ", " + zzabzVar.zzd());
|
|
}
|
|
if (zzabzVar instanceof zzabz) {
|
|
byte[] bArr = this.zza;
|
|
byte[] bArr2 = zzabzVar.zza;
|
|
zzabzVar.zzc();
|
|
int i = 0;
|
|
int i2 = 0;
|
|
while (i < zzd) {
|
|
if (bArr[i] != bArr2[i2]) {
|
|
return false;
|
|
}
|
|
i++;
|
|
i2++;
|
|
}
|
|
return true;
|
|
}
|
|
return zzabzVar.zzg(0, zzd).equals(zzg(0, zzd));
|
|
}
|
|
return obj.equals(this);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzacc
|
|
public byte zza(int i) {
|
|
return this.zza[i];
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzacc
|
|
public byte zzb(int i) {
|
|
return this.zza[i];
|
|
}
|
|
|
|
protected int zzc() {
|
|
return 0;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzacc
|
|
protected void zze(byte[] bArr, int i, int i2, int i3) {
|
|
System.arraycopy(this.zza, 0, bArr, 0, i3);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzacc
|
|
protected final int zzf(int i, int i2, int i3) {
|
|
return zzadl.zzd(i, this.zza, 0, i3);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzacc
|
|
public final zzacc zzg(int i, int i2) {
|
|
int zzl = zzl(0, i2, zzd());
|
|
return zzl == 0 ? zzacc.zzb : new zzabw(this.zza, 0, zzl);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzacc
|
|
public final zzacg zzh() {
|
|
return zzacg.zzu(this.zza, 0, zzd(), true);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzacc
|
|
public final void zzj(zzabs zzabsVar) throws IOException {
|
|
zzabsVar.zza(this.zza, 0, zzd());
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzacc
|
|
public final boolean zzk() {
|
|
return zzagc.zzf(this.zza, 0, zzd());
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzacc
|
|
protected final String zzi(Charset charset) {
|
|
return new String(this.zza, 0, zzd(), charset);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzacc
|
|
public int zzd() {
|
|
return this.zza.length;
|
|
}
|
|
}
|