apkfuckery/com.discord/smali_classes2/okhttp3/RequestBody$Companion$b.smali

73 lines
1.7 KiB
Smali
Raw Normal View History

2019-11-28 00:30:53 +00:00
.class public final Lokhttp3/RequestBody$Companion$b;
.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
# instance fields
2019-12-04 22:43:03 +00:00
.field final synthetic cpK:Lokhttp3/MediaType;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field final synthetic cpL:Lokio/ByteString;
2019-11-28 00:30:53 +00:00
# direct methods
.method constructor <init>(Lokio/ByteString;Lokhttp3/MediaType;)V
.locals 0
2019-12-04 22:43:03 +00:00
iput-object p1, p0, Lokhttp3/RequestBody$Companion$b;->cpL:Lokio/ByteString;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-object p2, p0, Lokhttp3/RequestBody$Companion$b;->cpK:Lokhttp3/MediaType;
2019-11-28 00:30:53 +00:00
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
return-void
.end method
# virtual methods
.method public final contentLength()J
.locals 2
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lokhttp3/RequestBody$Companion$b;->cpL:Lokio/ByteString;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
invoke-virtual {v0}, Lokio/ByteString;->Ta()I
2019-11-28 00:30:53 +00:00
move-result v0
int-to-long v0, v0
return-wide v0
.end method
.method public final contentType()Lokhttp3/MediaType;
.locals 1
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lokhttp3/RequestBody$Companion$b;->cpK:Lokhttp3/MediaType;
2019-11-28 00:30:53 +00:00
return-object v0
.end method
.method public final writeTo(Lokio/BufferedSink;)V
.locals 1
const-string v0, "sink"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lokhttp3/RequestBody$Companion$b;->cpL:Lokio/ByteString;
2019-11-28 00:30:53 +00:00
invoke-interface {p1, v0}, Lokio/BufferedSink;->k(Lokio/ByteString;)Lokio/BufferedSink;
return-void
.end method