apkfuckery/com.discord/smali_classes2/g0/z$a.smali
2020-11-09 19:03:49 +00:00

76 lines
1.6 KiB
Smali

.class public Lg0/z$a;
.super Lokhttp3/RequestBody;
.source "RequestBuilder.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lg0/z;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "a"
.end annotation
# instance fields
.field public final a:Lokhttp3/RequestBody;
.field public final b:Lokhttp3/MediaType;
# direct methods
.method public constructor <init>(Lokhttp3/RequestBody;Lokhttp3/MediaType;)V
.locals 0
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
iput-object p1, p0, Lg0/z$a;->a:Lokhttp3/RequestBody;
iput-object p2, p0, Lg0/z$a;->b:Lokhttp3/MediaType;
return-void
.end method
# virtual methods
.method public contentLength()J
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object v0, p0, Lg0/z$a;->a:Lokhttp3/RequestBody;
invoke-virtual {v0}, Lokhttp3/RequestBody;->contentLength()J
move-result-wide v0
return-wide v0
.end method
.method public contentType()Lokhttp3/MediaType;
.locals 1
iget-object v0, p0, Lg0/z$a;->b:Lokhttp3/MediaType;
return-object v0
.end method
.method public writeTo(Lokio/BufferedSink;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object v0, p0, Lg0/z$a;->a:Lokhttp3/RequestBody;
invoke-virtual {v0, p1}, Lokhttp3/RequestBody;->writeTo(Lokio/BufferedSink;)V
return-void
.end method