apkfuckery/com.discord/smali_classes2/o0/d0.smali

62 lines
1.2 KiB
Smali
Raw Normal View History

2020-09-18 16:51:32 +00:00
.class public final Lo0/d0;
2020-09-16 23:45:23 +00:00
.super Lokhttp3/RequestBody;
.source "RequestBody.kt"
2020-07-08 16:44:49 +00:00
# instance fields
2020-09-16 23:45:23 +00:00
.field public final synthetic a:Lokio/ByteString;
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
.field public final synthetic b:Lokhttp3/MediaType;
2020-07-08 16:44:49 +00:00
# direct methods
2020-09-16 23:45:23 +00:00
.method public constructor <init>(Lokio/ByteString;Lokhttp3/MediaType;)V
2020-07-08 16:44:49 +00:00
.locals 0
2020-09-18 16:51:32 +00:00
iput-object p1, p0, Lo0/d0;->a:Lokio/ByteString;
2020-07-08 16:44:49 +00:00
2020-09-18 16:51:32 +00:00
iput-object p2, p0, Lo0/d0;->b:Lokhttp3/MediaType;
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
2020-07-08 16:44:49 +00:00
return-void
.end method
# virtual methods
2020-09-16 23:45:23 +00:00
.method public contentLength()J
2020-07-08 16:44:49 +00:00
.locals 2
2020-09-18 16:51:32 +00:00
iget-object v0, p0, Lo0/d0;->a:Lokio/ByteString;
2020-09-16 23:45:23 +00:00
invoke-virtual {v0}, Lokio/ByteString;->i()I
move-result v0
int-to-long v0, v0
2020-07-08 16:44:49 +00:00
return-wide v0
.end method
2020-09-16 23:45:23 +00:00
.method public contentType()Lokhttp3/MediaType;
2020-07-08 16:44:49 +00:00
.locals 1
2020-09-18 16:51:32 +00:00
iget-object v0, p0, Lo0/d0;->b:Lokhttp3/MediaType;
2020-07-08 16:44:49 +00:00
return-object v0
.end method
2020-09-16 23:45:23 +00:00
.method public writeTo(Lokio/BufferedSink;)V
2020-07-08 16:44:49 +00:00
.locals 1
2020-09-16 23:45:23 +00:00
const-string v0, "sink"
2020-07-08 16:44:49 +00:00
2020-09-18 16:51:32 +00:00
invoke-static {p1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iget-object v0, p0, Lo0/d0;->a:Lokio/ByteString;
2020-09-16 23:45:23 +00:00
invoke-interface {p1, v0}, Lokio/BufferedSink;->C0(Lokio/ByteString;)Lokio/BufferedSink;
return-void
2020-07-08 16:44:49 +00:00
.end method