package XnFJ5_9;

import java.io.IOException;
import javax.annotation.Nullable;
/* compiled from: RequestBody.java */
/* loaded from: classes.dex */
public abstract class DtqPmDY_31 {

    /* compiled from: RequestBody.java */
    /* loaded from: classes.dex */
    public class KQgRr5e_0 extends DtqPmDY_31 {
        public final /* synthetic */ int KQgRr5e_0;

        /* renamed from: KQgRr5e_0  reason: collision with other field name */
        public final /* synthetic */ XDsvEfm_26 f1428KQgRr5e_0;

        /* renamed from: KQgRr5e_0  reason: collision with other field name */
        public final /* synthetic */ byte[] f1429KQgRr5e_0;
        public final /* synthetic */ int QxJ9d_1;

        public KQgRr5e_0(XDsvEfm_26 xDsvEfm_26, int i, byte[] bArr, int i2) {
            this.f1428KQgRr5e_0 = xDsvEfm_26;
            this.KQgRr5e_0 = i;
            this.f1429KQgRr5e_0 = bArr;
            this.QxJ9d_1 = i2;
        }

        @Override // XnFJ5_9.DtqPmDY_31
        @Nullable
        public XDsvEfm_26 KQgRr5e_0() {
            return this.f1428KQgRr5e_0;
        }

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

        @Override // XnFJ5_9.DtqPmDY_31
        public void KQgRr5e_0(Nm6q_10.IFxWkV_5 iFxWkV_5) throws IOException {
            iFxWkV_5.KQgRr5e_0(this.f1429KQgRr5e_0, this.QxJ9d_1, this.KQgRr5e_0);
        }
    }

    public static DtqPmDY_31 KQgRr5e_0(@Nullable XDsvEfm_26 xDsvEfm_26, byte[] bArr) {
        return KQgRr5e_0(xDsvEfm_26, bArr, 0, bArr.length);
    }

    public abstract long KQgRr5e_0() throws IOException;

    @Nullable
    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public abstract XDsvEfm_26 m658KQgRr5e_0();

    public abstract void KQgRr5e_0(Nm6q_10.IFxWkV_5 iFxWkV_5) throws IOException;

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public boolean m659KQgRr5e_0() {
        return false;
    }

    public boolean QxJ9d_1() {
        return false;
    }

    public static DtqPmDY_31 KQgRr5e_0(@Nullable XDsvEfm_26 xDsvEfm_26, byte[] bArr, int i, int i2) {
        if (bArr != null) {
            XnFJ5_9.Ft6VRog_36.X6FRs_4.KQgRr5e_0(bArr.length, i, i2);
            return new KQgRr5e_0(xDsvEfm_26, i2, bArr, i);
        }
        throw new NullPointerException("content == null");
    }
}
