apkfuckery/com.discord/smali/b/l$a.smali
2019-08-22 20:54:10 +02:00

76 lines
1.6 KiB
Smali

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