2021-11-02 06:38:17 +00:00
|
|
|
package f0;
|
2021-08-03 07:33:18 +00:00
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.m;
|
2021-08-03 07:33:18 +00:00
|
|
|
import okhttp3.MediaType;
|
|
|
|
import okhttp3.RequestBody;
|
|
|
|
import okio.BufferedSink;
|
2021-08-10 21:19:22 +00:00
|
|
|
import okio.ByteString;
|
2021-08-03 07:33:18 +00:00
|
|
|
/* compiled from: RequestBody.kt */
|
2022-03-07 09:34:54 +00:00
|
|
|
/* loaded from: classes3.dex */
|
2021-08-03 07:33:18 +00:00
|
|
|
public final class a0 extends RequestBody {
|
2021-08-10 21:19:22 +00:00
|
|
|
public final /* synthetic */ ByteString a;
|
2021-12-17 21:59:34 +00:00
|
|
|
|
|
|
|
/* renamed from: b reason: collision with root package name */
|
2022-03-28 08:10:50 +00:00
|
|
|
public final /* synthetic */ MediaType f3595b;
|
2021-08-03 07:33:18 +00:00
|
|
|
|
2021-08-10 21:19:22 +00:00
|
|
|
public a0(ByteString byteString, MediaType mediaType) {
|
|
|
|
this.a = byteString;
|
2022-03-28 08:10:50 +00:00
|
|
|
this.f3595b = mediaType;
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override // okhttp3.RequestBody
|
|
|
|
public long contentLength() {
|
2022-03-07 09:34:54 +00:00
|
|
|
return this.a.j();
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override // okhttp3.RequestBody
|
|
|
|
public MediaType contentType() {
|
2022-03-28 08:10:50 +00:00
|
|
|
return this.f3595b;
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override // okhttp3.RequestBody
|
|
|
|
public void writeTo(BufferedSink bufferedSink) {
|
|
|
|
m.checkParameterIsNotNull(bufferedSink, "sink");
|
2021-11-05 06:48:17 +00:00
|
|
|
bufferedSink.e0(this.a);
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|