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

81 lines
1.8 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lokhttp3/RequestBody$Companion$a;
.super Lokhttp3/RequestBody;
.source "RequestBody.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-07-08 16:44:49 +00:00
value = Lokhttp3/RequestBody$Companion;->b([BLokhttp3/MediaType;II)Lokhttp3/RequestBody;
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
2020-07-08 16:44:49 +00:00
.field public final synthetic a:[B
2020-05-17 12:40:10 +00:00
.field public final synthetic b:Lokhttp3/MediaType;
2020-07-08 16:44:49 +00:00
.field public final synthetic c:I
.field public final synthetic d:I
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-08 16:44:49 +00:00
.method public constructor <init>([BLokhttp3/MediaType;II)V
2020-05-17 12:40:10 +00:00
.locals 0
2020-07-08 16:44:49 +00:00
iput-object p1, p0, Lokhttp3/RequestBody$Companion$a;->a:[B
2020-05-17 12:40:10 +00:00
iput-object p2, p0, Lokhttp3/RequestBody$Companion$a;->b:Lokhttp3/MediaType;
2020-07-08 16:44:49 +00:00
iput p3, p0, Lokhttp3/RequestBody$Companion$a;->c:I
iput p4, p0, Lokhttp3/RequestBody$Companion$a;->d:I
2020-05-17 12:40:10 +00:00
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
return-void
.end method
# virtual methods
.method public contentLength()J
.locals 2
2020-07-08 16:44:49 +00:00
iget v0, p0, Lokhttp3/RequestBody$Companion$a;->c:I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
int-to-long v0, v0
2020-05-17 12:40:10 +00:00
return-wide v0
.end method
.method public contentType()Lokhttp3/MediaType;
.locals 1
iget-object v0, p0, Lokhttp3/RequestBody$Companion$a;->b:Lokhttp3/MediaType;
return-object v0
.end method
.method public writeTo(Lokio/BufferedSink;)V
.locals 3
2020-09-09 19:21:20 +00:00
const-string v0, "sink"
invoke-static {p1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lokhttp3/RequestBody$Companion$a;->a:[B
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget v1, p0, Lokhttp3/RequestBody$Companion$a;->d:I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget v2, p0, Lokhttp3/RequestBody$Companion$a;->c:I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-interface {p1, v0, v1, v2}, Lokio/BufferedSink;->write([BII)Lokio/BufferedSink;
2020-05-17 12:40:10 +00:00
return-void
.end method