apkfuckery/com.discord/smali_classes2/g0/d0.smali
2020-10-05 23:18:16 +00:00

61 lines
1.2 KiB
Smali

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