what-the-bank/sources/com/google/android/gms/internal/firebase_ml/zztb.java

52 lines
1.7 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.firebase_ml;
/* loaded from: classes2.dex */
final class zztb extends zztg {
private final int zzbkp;
private final int zzbkq;
/* JADX INFO: Access modifiers changed from: package-private */
public zztb(byte[] bArr, int i, int i2) {
super(bArr);
zzc(i, i + i2, bArr.length);
this.zzbkp = i;
this.zzbkq = i2;
}
@Override // com.google.android.gms.internal.firebase_ml.zztg, com.google.android.gms.internal.firebase_ml.zzsw
public final byte zzcl(int i) {
int size = size();
if (((size - (i + 1)) | i) >= 0) {
return this.bytes[this.zzbkp + i];
}
if (i < 0) {
StringBuilder sb = new StringBuilder(22);
sb.append("Index < 0: ");
sb.append(i);
throw new ArrayIndexOutOfBoundsException(sb.toString());
}
StringBuilder sb2 = new StringBuilder(40);
sb2.append("Index > length: ");
sb2.append(i);
sb2.append(", ");
sb2.append(size);
throw new ArrayIndexOutOfBoundsException(sb2.toString());
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.google.android.gms.internal.firebase_ml.zztg, com.google.android.gms.internal.firebase_ml.zzsw
public final byte zzcm(int i) {
return this.bytes[this.zzbkp + i];
}
@Override // com.google.android.gms.internal.firebase_ml.zztg
protected final int zzqa() {
return this.zzbkp;
}
@Override // com.google.android.gms.internal.firebase_ml.zztg, com.google.android.gms.internal.firebase_ml.zzsw
public final int size() {
return this.zzbkq;
}
}