package defpackage;

import java.io.IOException;
import java.io.InputStream;

/* renamed from: ˉˆ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1157 extends C2280 {
    public C1157(InputStream inputStream) {
        super(inputStream);
        if (inputStream.markSupported()) {
            this.f8915.mark(Integer.MAX_VALUE);
        } else {
            ᵹˉᵞ.ˌᵜᵹᵩ("Cannot create SeekableByteOrderedDataInputStream with stream that does not support mark/reset");
            throw null;
        }
    }

    public C1157(byte[] bArr) {
        super(bArr);
        this.f8915.mark(Integer.MAX_VALUE);
    }

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final void m3652(long j) throws IOException {
        int i = this.f8917;
        if (i > j) {
            this.f8917 = 0;
            this.f8915.reset();
        } else {
            j -= i;
        }
        m5981((int) j);
    }
}
