Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/measurement/zzhx.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

108 lines
2.7 KiB
Java

package com.google.android.gms.internal.measurement;
import java.io.IOException;
import java.io.Serializable;
import java.util.Iterator;
import java.util.Locale;
/* loaded from: classes3.dex */
public abstract class zzhx implements Serializable, Iterable<Byte> {
public static final zzhx zza = new zzik(zzjn.zzb);
private static final zzie zzb = new zzij();
private int zzc = 0;
public static /* synthetic */ int zza(byte b) {
return b & 255;
}
public abstract boolean equals(Object obj);
public abstract byte zza(int i);
public final int zza() {
return this.zzc;
}
public abstract zzhx zza(int i, int i2);
public abstract void zza(zzhy zzhyVar) throws IOException;
public abstract byte zzb(int i);
public abstract int zzb();
public abstract int zzb(int i, int i2, int i3);
public static int zza(int i, int i2, int i3) {
int i4 = i2 - i;
if ((i | i2 | i4 | (i3 - i2)) >= 0) {
return i4;
}
if (i < 0) {
throw new IndexOutOfBoundsException("Beginning index: " + i + " < 0");
}
if (i2 < i) {
throw new IndexOutOfBoundsException("Beginning index larger than ending index: " + i + ", " + i2);
}
throw new IndexOutOfBoundsException("End index: " + i2 + " >= " + i3);
}
public final int hashCode() {
int i = this.zzc;
if (i == 0) {
int zzb2 = zzb();
i = zzb(zzb2, 0, zzb2);
if (i == 0) {
i = 1;
}
this.zzc = i;
}
return i;
}
public static zzig zzc(int i) {
return new zzig(i);
}
public static zzhx zza(byte[] bArr) {
return zza(bArr, 0, bArr.length);
}
public static zzhx zza(byte[] bArr, int i, int i2) {
zza(i, i + i2, bArr.length);
return new zzik(zzb.zza(bArr, i, i2));
}
public static zzhx zza(String str) {
return new zzik(str.getBytes(zzjn.zza));
}
public static zzhx zzb(byte[] bArr) {
return new zzik(bArr);
}
public final String toString() {
String str;
Locale locale = Locale.ROOT;
Object[] objArr = new Object[3];
objArr[0] = Integer.toHexString(System.identityHashCode(this));
objArr[1] = Integer.valueOf(zzb());
if (zzb() <= 50) {
str = zzly.zza(this);
} else {
str = zzly.zza(zza(0, 47)) + "...";
}
objArr[2] = str;
return String.format(locale, "<ByteString@%s size=%d contents=\"%s\">", objArr);
}
@Override // java.lang.Iterable
public /* synthetic */ Iterator<Byte> iterator() {
return new zzia(this);
}
static {
new zzhz();
}
}