package XnFJ5_9;

import java.io.Closeable;
import java.io.InputStream;
import javax.annotation.Nullable;
/* compiled from: ResponseBody.java */
/* loaded from: classes.dex */
public abstract class ViqFd_33 implements Closeable {

    /* compiled from: ResponseBody.java */
    /* loaded from: classes.dex */
    public class KQgRr5e_0 extends ViqFd_33 {
        public final /* synthetic */ long KQgRr5e_0;

        /* renamed from: KQgRr5e_0  reason: collision with other field name */
        public final /* synthetic */ Nm6q_10.IMuAHx_6 f1675KQgRr5e_0;

        public KQgRr5e_0(XDsvEfm_26 xDsvEfm_26, long j, Nm6q_10.IMuAHx_6 iMuAHx_6) {
            this.KQgRr5e_0 = j;
            this.f1675KQgRr5e_0 = iMuAHx_6;
        }

        @Override // XnFJ5_9.ViqFd_33
        public Nm6q_10.IMuAHx_6 KQgRr5e_0() {
            return this.f1675KQgRr5e_0;
        }

        @Override // XnFJ5_9.ViqFd_33
        public long QxJ9d_1() {
            return this.KQgRr5e_0;
        }
    }

    public static ViqFd_33 KQgRr5e_0(@Nullable XDsvEfm_26 xDsvEfm_26, byte[] bArr) {
        Nm6q_10.X6FRs_4 x6FRs_4 = new Nm6q_10.X6FRs_4();
        x6FRs_4.KQgRr5e_0(bArr);
        return KQgRr5e_0(xDsvEfm_26, bArr.length, x6FRs_4);
    }

    public abstract Nm6q_10.IMuAHx_6 KQgRr5e_0();

    public abstract long QxJ9d_1();

    /* renamed from: QxJ9d_1  reason: collision with other method in class */
    public final InputStream m772QxJ9d_1() {
        return KQgRr5e_0().KQgRr5e_0();
    }

    @Override // java.io.Closeable, java.lang.AutoCloseable
    public void close() {
        XnFJ5_9.Ft6VRog_36.X6FRs_4.KQgRr5e_0(KQgRr5e_0());
    }

    public static ViqFd_33 KQgRr5e_0(@Nullable XDsvEfm_26 xDsvEfm_26, long j, Nm6q_10.IMuAHx_6 iMuAHx_6) {
        if (iMuAHx_6 != null) {
            return new KQgRr5e_0(xDsvEfm_26, j, iMuAHx_6);
        }
        throw new NullPointerException("source == null");
    }
}
