- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
41 lines
1.0 KiB
Java
41 lines
1.0 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import androidx.annotation.VisibleForTesting;
|
|
import java.io.FilterInputStream;
|
|
import java.io.IOException;
|
|
import java.io.InputStream;
|
|
|
|
@VisibleForTesting
|
|
/* loaded from: classes3.dex */
|
|
final class zzaqg extends FilterInputStream {
|
|
private final long zza;
|
|
private long zzb;
|
|
|
|
public zzaqg(InputStream inputStream, long j) {
|
|
super(inputStream);
|
|
this.zza = j;
|
|
}
|
|
|
|
@Override // java.io.FilterInputStream, java.io.InputStream
|
|
public final int read() throws IOException {
|
|
int read = super.read();
|
|
if (read != -1) {
|
|
this.zzb++;
|
|
}
|
|
return read;
|
|
}
|
|
|
|
public final long zza() {
|
|
return this.zza - this.zzb;
|
|
}
|
|
|
|
@Override // java.io.FilterInputStream, java.io.InputStream
|
|
public final int read(byte[] bArr, int i, int i2) throws IOException {
|
|
int read = super.read(bArr, i, i2);
|
|
if (read != -1) {
|
|
this.zzb += read;
|
|
}
|
|
return read;
|
|
}
|
|
}
|