package okhttp3;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes3.dex */
@kotlin.Metadata(d1 = {"\u0000b\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0012\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0003\b&\u0018\u0000 !2\u00020\u0001:\u0002 !B\u0005¢\u0006\u0002\u0010\u0002J\u0006\u0010\u0005\u001a\u00020\u0006J\u0006\u0010\u0007\u001a\u00020\bJ\u0006\u0010\t\u001a\u00020\nJ\u0006\u0010\u000b\u001a\u00020\u0004J\b\u0010\f\u001a\u00020\rH\u0002J\b\u0010\u000e\u001a\u00020\u000fH\u0016J@\u0010\u0010\u001a\u0002H\u0011\"\b\b\u0000\u0010\u0011*\u00020\u00122\u0012\u0010\u0013\u001a\u000e\u0012\u0004\u0012\u00020\u0015\u0012\u0004\u0012\u0002H\u00110\u00142\u0012\u0010\u0016\u001a\u000e\u0012\u0004\u0012\u0002H\u0011\u0012\u0004\u0012\u00020\u00170\u0014H\u0082\b¢\u0006\u0002\u0010\u0018J\b\u0010\u0019\u001a\u00020\u001aH&J\n\u0010\u001b\u001a\u0004\u0018\u00010\u001cH&J\b\u0010\u001d\u001a\u00020\u0015H&J\u0006\u0010\u001e\u001a\u00020\u001fR\u0010\u0010\u0003\u001a\u0004\u0018\u00010\u0004X\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\""}, d2 = {"Lokhttp3/ResponseBody;", "Ljava/io/Closeable;", "()V", "reader", "Ljava/io/Reader;", "byteStream", "Ljava/io/InputStream;", "byteString", "Lokio/ByteString;", "bytes", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "charStream", "charset", "Ljava/nio/charset/Charset;", "close", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "consumeSource", "T", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "consumer", "Lkotlin/Function1;", "Lokio/BufferedSource;", "sizeMapper", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "(Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;", "contentLength", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "contentType", "Lokhttp3/MediaType;", "source", "string", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "BomAwareReader", "Companion", "okhttp"}, k = 1, mv = {1, 8, 0}, xi = 48)
@kotlin.jvm.internal.SourceDebugExtension
public abstract class ResponseBody implements java.io.Closeable {

    /* JADX INFO: renamed from: Companion, reason: from kotlin metadata */
    @org.jetbrains.annotations.NotNull
    public static final okhttp3.ResponseBody.Companion INSTANCE = new okhttp3.ResponseBody.Companion(null);

    @org.jetbrains.annotations.Nullable
    private java.io.Reader reader;

    /* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
    @kotlin.Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0019\n\u0002\b\u0003\b\u0000\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\b\u0010\n\u001a\u00020\u000bH\u0016J \u0010\f\u001a\u00020\r2\u0006\u0010\u000e\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\r2\u0006\u0010\u0011\u001a\u00020\rH\u0016R\u000e\u0010\u0004\u001a\u00020\u0005X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\bX\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\t\u001a\u0004\u0018\u00010\u0001X\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0012"}, d2 = {"Lokhttp3/ResponseBody$BomAwareReader;", "Ljava/io/Reader;", "source", "Lokio/BufferedSource;", "charset", "Ljava/nio/charset/Charset;", "(Lokio/BufferedSource;Ljava/nio/charset/Charset;)V", "closed", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "delegate", "close", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "read", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "cbuf", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "off", "len", "okhttp"}, k = 1, mv = {1, 8, 0}, xi = 48)
    @kotlin.jvm.internal.SourceDebugExtension
    public static final class BomAwareReader extends java.io.Reader {

        @org.jetbrains.annotations.NotNull
        private final java.nio.charset.Charset charset;
        private boolean closed;

        @org.jetbrains.annotations.Nullable
        private java.io.Reader delegate;

        @org.jetbrains.annotations.NotNull
        private final okio.BufferedSource source;

        public BomAwareReader(@org.jetbrains.annotations.NotNull okio.BufferedSource bufferedSource, @org.jetbrains.annotations.NotNull java.nio.charset.Charset charset) {
            kotlin.jvm.internal.Intrinsics.l(bufferedSource, "source");
            kotlin.jvm.internal.Intrinsics.l(charset, "charset");
            this.source = bufferedSource;
            this.charset = charset;
        }

        @Override // java.io.Reader, java.io.Closeable, java.lang.AutoCloseable
        public void close() throws java.io.IOException {
            kotlin.Unit unit;
            this.closed = true;
            java.io.Reader reader = this.delegate;
            if (reader != null) {
                reader.close();
                unit = kotlin.Unit.a;
            } else {
                unit = null;
            }
            if (unit == null) {
                this.source.close();
            }
        }

        @Override // java.io.Reader
        public int read(@org.jetbrains.annotations.NotNull char[] cbuf, int off, int len) throws java.io.IOException {
            kotlin.jvm.internal.Intrinsics.l(cbuf, "cbuf");
            if (this.closed) {
                throw new java.io.IOException("Stream closed");
            }
            java.io.Reader inputStreamReader = this.delegate;
            if (inputStreamReader == null) {
                inputStreamReader = new java.io.InputStreamReader(this.source.P2(), okhttp3.internal.Util.readBomAsCharset(this.source, this.charset));
                this.delegate = inputStreamReader;
            }
            return inputStreamReader.read(cbuf, off, len);
        }
    }

    /* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
    @kotlin.Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0012\n\u0000\n\u0002\u0010\t\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u001a\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u00062\u0006\u0010\u0007\u001a\u00020\bH\u0007J\"\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u00062\u0006\u0010\t\u001a\u00020\n2\u0006\u0010\u0007\u001a\u00020\u000bH\u0007J\u001a\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u00062\u0006\u0010\u0007\u001a\u00020\fH\u0007J\u001a\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u00062\u0006\u0010\u0007\u001a\u00020\rH\u0007J'\u0010\u000e\u001a\u00020\u0004*\u00020\u000b2\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00062\b\b\u0002\u0010\t\u001a\u00020\nH\u0007¢\u0006\u0002\b\u0003J\u001d\u0010\u000f\u001a\u00020\u0004*\u00020\b2\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0006H\u0007¢\u0006\u0002\b\u0003J\u001d\u0010\u000f\u001a\u00020\u0004*\u00020\f2\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0006H\u0007¢\u0006\u0002\b\u0003J\u001d\u0010\u000f\u001a\u00020\u0004*\u00020\r2\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0006H\u0007¢\u0006\u0002\b\u0003¨\u0006\u0010"}, d2 = {"Lokhttp3/ResponseBody$Companion;", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "()V", "create", "Lokhttp3/ResponseBody;", "contentType", "Lokhttp3/MediaType;", "content", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "contentLength", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "Lokio/BufferedSource;", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "Lokio/ByteString;", "asResponseBody", "toResponseBody", "okhttp"}, k = 1, mv = {1, 8, 0}, xi = 48)
    public static final class Companion {
        public /* synthetic */ Companion(kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public static /* synthetic */ okhttp3.ResponseBody create$default(okhttp3.ResponseBody.Companion companion, java.lang.String str, okhttp3.MediaType mediaType, int i, java.lang.Object obj) {
            if ((i & 1) != 0) {
                mediaType = null;
            }
            return companion.create(str, mediaType);
        }

        @kotlin.jvm.JvmStatic
        @kotlin.jvm.JvmName
        @org.jetbrains.annotations.NotNull
        public final okhttp3.ResponseBody create(@org.jetbrains.annotations.NotNull java.lang.String str, @org.jetbrains.annotations.Nullable okhttp3.MediaType mediaType) {
            kotlin.jvm.internal.Intrinsics.l(str, "<this>");
            java.nio.charset.Charset charset = kotlin.text.Charsets.b;
            if (mediaType != null) {
                java.nio.charset.Charset charsetCharset$default = okhttp3.MediaType.charset$default(mediaType, null, 1, null);
                if (charsetCharset$default == null) {
                    mediaType = okhttp3.MediaType.INSTANCE.parse(mediaType + "; charset=utf-8");
                } else {
                    charset = charsetCharset$default;
                }
            }
            okio.Buffer bufferQ1 = new okio.Buffer().q1(str, charset);
            return create(bufferQ1, mediaType, bufferQ1.getSize());
        }

        private Companion() {
        }

        public static /* synthetic */ okhttp3.ResponseBody create$default(okhttp3.ResponseBody.Companion companion, byte[] bArr, okhttp3.MediaType mediaType, int i, java.lang.Object obj) {
            if ((i & 1) != 0) {
                mediaType = null;
            }
            return companion.create(bArr, mediaType);
        }

        public static /* synthetic */ okhttp3.ResponseBody create$default(okhttp3.ResponseBody.Companion companion, okio.ByteString byteString, okhttp3.MediaType mediaType, int i, java.lang.Object obj) {
            if ((i & 1) != 0) {
                mediaType = null;
            }
            return companion.create(byteString, mediaType);
        }

        public static /* synthetic */ okhttp3.ResponseBody create$default(okhttp3.ResponseBody.Companion companion, okio.BufferedSource bufferedSource, okhttp3.MediaType mediaType, long j, int i, java.lang.Object obj) {
            if ((i & 1) != 0) {
                mediaType = null;
            }
            if ((i & 2) != 0) {
                j = -1;
            }
            return companion.create(bufferedSource, mediaType, j);
        }

        @kotlin.jvm.JvmStatic
        @kotlin.jvm.JvmName
        @org.jetbrains.annotations.NotNull
        public final okhttp3.ResponseBody create(@org.jetbrains.annotations.NotNull byte[] bArr, @org.jetbrains.annotations.Nullable okhttp3.MediaType mediaType) {
            kotlin.jvm.internal.Intrinsics.l(bArr, "<this>");
            return create(new okio.Buffer().write(bArr), mediaType, bArr.length);
        }

        @kotlin.jvm.JvmStatic
        @kotlin.jvm.JvmName
        @org.jetbrains.annotations.NotNull
        public final okhttp3.ResponseBody create(@org.jetbrains.annotations.NotNull okio.ByteString byteString, @org.jetbrains.annotations.Nullable okhttp3.MediaType mediaType) {
            kotlin.jvm.internal.Intrinsics.l(byteString, "<this>");
            return create(new okio.Buffer().U0(byteString), mediaType, byteString.B());
        }

        @kotlin.jvm.JvmStatic
        @kotlin.jvm.JvmName
        @org.jetbrains.annotations.NotNull
        public final okhttp3.ResponseBody create(@org.jetbrains.annotations.NotNull final okio.BufferedSource bufferedSource, @org.jetbrains.annotations.Nullable final okhttp3.MediaType mediaType, final long j) {
            kotlin.jvm.internal.Intrinsics.l(bufferedSource, "<this>");
            return new okhttp3.ResponseBody() { // from class: okhttp3.ResponseBody$Companion$asResponseBody$1
                @Override // okhttp3.ResponseBody
                /* JADX INFO: renamed from: contentLength, reason: from getter */
                public long get$contentLength() {
                    return j;
                }

                @Override // okhttp3.ResponseBody
                @org.jetbrains.annotations.Nullable
                /* JADX INFO: renamed from: contentType, reason: from getter */
                public okhttp3.MediaType get$contentType() {
                    return mediaType;
                }

                @Override // okhttp3.ResponseBody
                @org.jetbrains.annotations.NotNull
                /* JADX INFO: renamed from: source, reason: from getter */
                public okio.BufferedSource get$this_asResponseBody() {
                    return bufferedSource;
                }
            };
        }

        @kotlin.Deprecated
        @kotlin.jvm.JvmStatic
        @org.jetbrains.annotations.NotNull
        public final okhttp3.ResponseBody create(@org.jetbrains.annotations.Nullable okhttp3.MediaType contentType, @org.jetbrains.annotations.NotNull java.lang.String content) {
            kotlin.jvm.internal.Intrinsics.l(content, "content");
            return create(content, contentType);
        }

        @kotlin.Deprecated
        @kotlin.jvm.JvmStatic
        @org.jetbrains.annotations.NotNull
        public final okhttp3.ResponseBody create(@org.jetbrains.annotations.Nullable okhttp3.MediaType contentType, @org.jetbrains.annotations.NotNull byte[] content) {
            kotlin.jvm.internal.Intrinsics.l(content, "content");
            return create(content, contentType);
        }

        @kotlin.Deprecated
        @kotlin.jvm.JvmStatic
        @org.jetbrains.annotations.NotNull
        public final okhttp3.ResponseBody create(@org.jetbrains.annotations.Nullable okhttp3.MediaType contentType, @org.jetbrains.annotations.NotNull okio.ByteString content) {
            kotlin.jvm.internal.Intrinsics.l(content, "content");
            return create(content, contentType);
        }

        @kotlin.Deprecated
        @kotlin.jvm.JvmStatic
        @org.jetbrains.annotations.NotNull
        public final okhttp3.ResponseBody create(@org.jetbrains.annotations.Nullable okhttp3.MediaType contentType, long contentLength, @org.jetbrains.annotations.NotNull okio.BufferedSource content) {
            kotlin.jvm.internal.Intrinsics.l(content, "content");
            return create(content, contentType, contentLength);
        }
    }

    private final java.nio.charset.Charset charset() {
        java.nio.charset.Charset charset;
        okhttp3.MediaType mediaTypeContentType = get$contentType();
        return (mediaTypeContentType == null || (charset = mediaTypeContentType.charset(kotlin.text.Charsets.b)) == null) ? kotlin.text.Charsets.b : charset;
    }

    private final <T> T consumeSource(kotlin.jvm.functions.Function1<? super okio.BufferedSource, ? extends T> consumer, kotlin.jvm.functions.Function1<? super T, java.lang.Integer> sizeMapper) throws java.io.IOException {
        long jContentLength = get$contentLength();
        if (jContentLength > 2147483647L) {
            throw new java.io.IOException("Cannot buffer entire body for content length: " + jContentLength);
        }
        okio.BufferedSource bufferedSourceSource = get$this_asResponseBody();
        try {
            T t = (T) consumer.invoke(bufferedSourceSource);
            kotlin.jvm.internal.InlineMarker.b(1);
            kotlin.io.CloseableKt.a(bufferedSourceSource, (java.lang.Throwable) null);
            kotlin.jvm.internal.InlineMarker.a(1);
            int iIntValue = ((java.lang.Number) sizeMapper.invoke(t)).intValue();
            if (jContentLength == -1 || jContentLength == iIntValue) {
                return t;
            }
            throw new java.io.IOException("Content-Length (" + jContentLength + ") and stream length (" + iIntValue + ") disagree");
        } catch (java.lang.Throwable th) {
            try {
                throw th;
            } catch (java.lang.Throwable th2) {
                kotlin.jvm.internal.InlineMarker.b(1);
                kotlin.io.CloseableKt.a(bufferedSourceSource, th);
                kotlin.jvm.internal.InlineMarker.a(1);
                throw th2;
            }
        }
    }

    @kotlin.jvm.JvmStatic
    @kotlin.jvm.JvmName
    @org.jetbrains.annotations.NotNull
    public static final okhttp3.ResponseBody create(@org.jetbrains.annotations.NotNull java.lang.String str, @org.jetbrains.annotations.Nullable okhttp3.MediaType mediaType) {
        return INSTANCE.create(str, mediaType);
    }

    @org.jetbrains.annotations.NotNull
    public final java.io.InputStream byteStream() {
        return get$this_asResponseBody().P2();
    }

    @org.jetbrains.annotations.NotNull
    public final okio.ByteString byteString() throws java.io.IOException {
        long jContentLength = get$contentLength();
        if (jContentLength > 2147483647L) {
            throw new java.io.IOException("Cannot buffer entire body for content length: " + jContentLength);
        }
        okio.BufferedSource bufferedSourceSource = get$this_asResponseBody();
        try {
            okio.ByteString byteStringN0 = bufferedSourceSource.N0();
            kotlin.io.CloseableKt.a(bufferedSourceSource, (java.lang.Throwable) null);
            int iB = byteStringN0.B();
            if (jContentLength == -1 || jContentLength == iB) {
                return byteStringN0;
            }
            throw new java.io.IOException("Content-Length (" + jContentLength + ") and stream length (" + iB + ") disagree");
        } catch (java.lang.Throwable th) {
            try {
                throw th;
            } catch (java.lang.Throwable th2) {
                kotlin.io.CloseableKt.a(bufferedSourceSource, th);
                throw th2;
            }
        }
    }

    @org.jetbrains.annotations.NotNull
    public final byte[] bytes() throws java.io.IOException {
        long jContentLength = get$contentLength();
        if (jContentLength > 2147483647L) {
            throw new java.io.IOException("Cannot buffer entire body for content length: " + jContentLength);
        }
        okio.BufferedSource bufferedSourceSource = get$this_asResponseBody();
        try {
            byte[] bArrX0 = bufferedSourceSource.x0();
            kotlin.io.CloseableKt.a(bufferedSourceSource, (java.lang.Throwable) null);
            int length = bArrX0.length;
            if (jContentLength == -1 || jContentLength == length) {
                return bArrX0;
            }
            throw new java.io.IOException("Content-Length (" + jContentLength + ") and stream length (" + length + ") disagree");
        } catch (java.lang.Throwable th) {
            try {
                throw th;
            } catch (java.lang.Throwable th2) {
                kotlin.io.CloseableKt.a(bufferedSourceSource, th);
                throw th2;
            }
        }
    }

    @org.jetbrains.annotations.NotNull
    public final java.io.Reader charStream() {
        java.io.Reader reader = this.reader;
        if (reader != null) {
            return reader;
        }
        okhttp3.ResponseBody.BomAwareReader bomAwareReader = new okhttp3.ResponseBody.BomAwareReader(get$this_asResponseBody(), charset());
        this.reader = bomAwareReader;
        return bomAwareReader;
    }

    @Override // java.io.Closeable, java.lang.AutoCloseable
    public void close() {
        okhttp3.internal.Util.closeQuietly(get$this_asResponseBody());
    }

    /* JADX INFO: renamed from: contentLength */
    public abstract long get$contentLength();

    @org.jetbrains.annotations.Nullable
    /* JADX INFO: renamed from: contentType */
    public abstract okhttp3.MediaType get$contentType();

    @org.jetbrains.annotations.NotNull
    /* JADX INFO: renamed from: source */
    public abstract okio.BufferedSource get$this_asResponseBody();

    @org.jetbrains.annotations.NotNull
    public final java.lang.String string() throws java.io.IOException {
        okio.BufferedSource bufferedSourceSource = get$this_asResponseBody();
        try {
            java.lang.String strK0 = bufferedSourceSource.K0(okhttp3.internal.Util.readBomAsCharset(bufferedSourceSource, charset()));
            kotlin.io.CloseableKt.a(bufferedSourceSource, (java.lang.Throwable) null);
            return strK0;
        } catch (java.lang.Throwable th) {
            try {
                throw th;
            } catch (java.lang.Throwable th2) {
                kotlin.io.CloseableKt.a(bufferedSourceSource, th);
                throw th2;
            }
        }
    }

    @kotlin.Deprecated
    @kotlin.jvm.JvmStatic
    @org.jetbrains.annotations.NotNull
    public static final okhttp3.ResponseBody create(@org.jetbrains.annotations.Nullable okhttp3.MediaType mediaType, long j, @org.jetbrains.annotations.NotNull okio.BufferedSource bufferedSource) {
        return INSTANCE.create(mediaType, j, bufferedSource);
    }

    @kotlin.Deprecated
    @kotlin.jvm.JvmStatic
    @org.jetbrains.annotations.NotNull
    public static final okhttp3.ResponseBody create(@org.jetbrains.annotations.Nullable okhttp3.MediaType mediaType, @org.jetbrains.annotations.NotNull java.lang.String str) {
        return INSTANCE.create(mediaType, str);
    }

    @kotlin.Deprecated
    @kotlin.jvm.JvmStatic
    @org.jetbrains.annotations.NotNull
    public static final okhttp3.ResponseBody create(@org.jetbrains.annotations.Nullable okhttp3.MediaType mediaType, @org.jetbrains.annotations.NotNull okio.ByteString byteString) {
        return INSTANCE.create(mediaType, byteString);
    }

    @kotlin.Deprecated
    @kotlin.jvm.JvmStatic
    @org.jetbrains.annotations.NotNull
    public static final okhttp3.ResponseBody create(@org.jetbrains.annotations.Nullable okhttp3.MediaType mediaType, @org.jetbrains.annotations.NotNull byte[] bArr) {
        return INSTANCE.create(mediaType, bArr);
    }

    @kotlin.jvm.JvmStatic
    @kotlin.jvm.JvmName
    @org.jetbrains.annotations.NotNull
    public static final okhttp3.ResponseBody create(@org.jetbrains.annotations.NotNull okio.BufferedSource bufferedSource, @org.jetbrains.annotations.Nullable okhttp3.MediaType mediaType, long j) {
        return INSTANCE.create(bufferedSource, mediaType, j);
    }

    @kotlin.jvm.JvmStatic
    @kotlin.jvm.JvmName
    @org.jetbrains.annotations.NotNull
    public static final okhttp3.ResponseBody create(@org.jetbrains.annotations.NotNull okio.ByteString byteString, @org.jetbrains.annotations.Nullable okhttp3.MediaType mediaType) {
        return INSTANCE.create(byteString, mediaType);
    }

    @kotlin.jvm.JvmStatic
    @kotlin.jvm.JvmName
    @org.jetbrains.annotations.NotNull
    public static final okhttp3.ResponseBody create(@org.jetbrains.annotations.NotNull byte[] bArr, @org.jetbrains.annotations.Nullable okhttp3.MediaType mediaType) {
        return INSTANCE.create(bArr, mediaType);
    }
}
