mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 09:02:34 -06:00
106 lines
2.8 KiB
Smali
106 lines
2.8 KiB
Smali
|
.class public final Lokhttp3/RequestBody$Companion$toRequestBody$1;
|
||
|
.super Lokhttp3/RequestBody;
|
||
|
.source "RequestBody.kt"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lokhttp3/RequestBody$Companion;->create(Lokio/ByteString;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x19
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation runtime Lkotlin/Metadata;
|
||
|
bv = {
|
||
|
0x1,
|
||
|
0x0,
|
||
|
0x3
|
||
|
}
|
||
|
d1 = {
|
||
|
"\u0000#\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016J\n\u0010\u0004\u001a\u0004\u0018\u00010\u0005H\u0016J\u0010\u0010\u0006\u001a\u00020\u00072\u0006\u0010\u0008\u001a\u00020\tH\u0016\u00a8\u0006\n"
|
||
|
}
|
||
|
d2 = {
|
||
|
"okhttp3/RequestBody$Companion$toRequestBody$1",
|
||
|
"Lokhttp3/RequestBody;",
|
||
|
"contentLength",
|
||
|
"",
|
||
|
"contentType",
|
||
|
"Lokhttp3/MediaType;",
|
||
|
"writeTo",
|
||
|
"",
|
||
|
"sink",
|
||
|
"Lokio/BufferedSink;",
|
||
|
"okhttp"
|
||
|
}
|
||
|
k = 0x1
|
||
|
mv = {
|
||
|
0x1,
|
||
|
0x4,
|
||
|
0x0
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic $contentType:Lokhttp3/MediaType;
|
||
|
|
||
|
.field final synthetic $this_toRequestBody:Lokio/ByteString;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lokio/ByteString;Lokhttp3/MediaType;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Lokhttp3/RequestBody$Companion$toRequestBody$1;->$this_toRequestBody:Lokio/ByteString;
|
||
|
|
||
|
iput-object p2, p0, Lokhttp3/RequestBody$Companion$toRequestBody$1;->$contentType:Lokhttp3/MediaType;
|
||
|
|
||
|
.line 125
|
||
|
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public contentLength()J
|
||
|
.locals 2
|
||
|
|
||
|
iget-object p0, p0, Lokhttp3/RequestBody$Companion$toRequestBody$1;->$this_toRequestBody:Lokio/ByteString;
|
||
|
|
||
|
.line 128
|
||
|
invoke-virtual {p0}, Lokio/ByteString;->size()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
int-to-long v0, p0
|
||
|
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public contentType()Lokhttp3/MediaType;
|
||
|
.locals 0
|
||
|
|
||
|
iget-object p0, p0, Lokhttp3/RequestBody$Companion$toRequestBody$1;->$contentType:Lokhttp3/MediaType;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public writeTo(Lokio/BufferedSink;)V
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "sink"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
iget-object p0, p0, Lokhttp3/RequestBody$Companion$toRequestBody$1;->$this_toRequestBody:Lokio/ByteString;
|
||
|
|
||
|
.line 131
|
||
|
invoke-interface {p1, p0}, Lokio/BufferedSink;->write(Lokio/ByteString;)Lokio/BufferedSink;
|
||
|
|
||
|
return-void
|
||
|
.end method
|