Files
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

42 lines
1.3 KiB
Java

package com.fyber.inneractive.sdk.util;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.concurrent.atomic.AtomicInteger;
/* loaded from: classes2.dex */
public final class h0 extends BufferedInputStream {
public final /* synthetic */ AtomicInteger a;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public h0(InputStream inputStream, AtomicInteger atomicInteger) {
super(inputStream);
this.a = atomicInteger;
}
@Override // java.io.BufferedInputStream, java.io.FilterInputStream, java.io.InputStream
public final synchronized int read(byte[] bArr, int i, int i2) throws IOException {
int read;
read = super.read(bArr, i, i2);
if (read != -1) {
this.a.getAndAdd(read);
}
return read;
}
@Override // java.io.BufferedInputStream, java.io.FilterInputStream, java.io.InputStream
public final synchronized void reset() throws IOException {
this.a.set(0);
super.reset();
}
@Override // java.io.BufferedInputStream, java.io.FilterInputStream, java.io.InputStream
public final synchronized long skip(long j) throws IOException {
long skip;
skip = super.skip(j);
this.a.addAndGet((int) skip);
return skip;
}
}