Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
31
apk_decompiled/sources/g0/f.java
Normal file
31
apk_decompiled/sources/g0/f.java
Normal file
@@ -0,0 +1,31 @@
|
||||
package g0;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class f extends b {
|
||||
public f(byte[] bArr) {
|
||||
super(bArr);
|
||||
this.f6684a.mark(Integer.MAX_VALUE);
|
||||
}
|
||||
|
||||
public final void e(long j4) {
|
||||
int i = this.f6686c;
|
||||
if (i > j4) {
|
||||
this.f6686c = 0;
|
||||
this.f6684a.reset();
|
||||
} else {
|
||||
j4 -= i;
|
||||
}
|
||||
d((int) j4);
|
||||
}
|
||||
|
||||
public f(InputStream inputStream) {
|
||||
super(inputStream);
|
||||
if (inputStream.markSupported()) {
|
||||
this.f6684a.mark(Integer.MAX_VALUE);
|
||||
return;
|
||||
}
|
||||
throw new IllegalArgumentException("Cannot create SeekableByteOrderedDataInputStream with stream that does not support mark/reset");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user