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

88 lines
1.8 KiB
Smali
Raw Normal View History

2019-11-28 00:30:53 +00:00
.class public final Lokhttp3/RequestBody$Companion$c;
.super Lokhttp3/RequestBody;
.source "RequestBody.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2019-12-06 03:29:40 +00:00
value = Lokhttp3/RequestBody$Companion;->a([BLokhttp3/MediaType;II)Lokhttp3/RequestBody;
2019-11-28 00:30:53 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic a:[B
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic b:Lokhttp3/MediaType;
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic c:I
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic d:I
2019-11-28 00:30:53 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>([BLokhttp3/MediaType;II)V
2019-11-28 00:30:53 +00:00
.locals 0
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lokhttp3/RequestBody$Companion$c;->a:[B
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
iput-object p2, p0, Lokhttp3/RequestBody$Companion$c;->b:Lokhttp3/MediaType;
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
iput p3, p0, Lokhttp3/RequestBody$Companion$c;->c:I
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
iput p4, p0, Lokhttp3/RequestBody$Companion$c;->d:I
2019-11-28 00:30:53 +00:00
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public contentLength()J
2019-11-28 00:30:53 +00:00
.locals 2
2019-12-06 03:29:40 +00:00
iget v0, p0, Lokhttp3/RequestBody$Companion$c;->c:I
2019-11-28 00:30:53 +00:00
int-to-long v0, v0
return-wide v0
.end method
2019-12-06 03:29:40 +00:00
.method public contentType()Lokhttp3/MediaType;
2019-11-28 00:30:53 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lokhttp3/RequestBody$Companion$c;->b:Lokhttp3/MediaType;
2019-11-28 00:30:53 +00:00
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public writeTo(Lokio/BufferedSink;)V
2019-11-28 00:30:53 +00:00
.locals 3
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lokhttp3/RequestBody$Companion$c;->a:[B
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
iget v1, p0, Lokhttp3/RequestBody$Companion$c;->d:I
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
iget v2, p0, Lokhttp3/RequestBody$Companion$c;->c:I
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {p1, v0, v1, v2}, Lokio/BufferedSink;->write([BII)Lokio/BufferedSink;
2019-11-28 00:30:53 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_0
const-string p1, "sink"
2020-04-11 15:34:05 +00:00
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
2019-11-28 00:30:53 +00:00
.end method