83 lines
1.8 KiB
Smali
83 lines
1.8 KiB
Smali
.class final Lokhttp3/RequestBody$2;
|
|
.super Lokhttp3/RequestBody;
|
|
.source "RequestBody.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lokhttp3/RequestBody;->create(Lokhttp3/MediaType;[BII)Lokhttp3/RequestBody;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic bmU:Lokhttp3/MediaType;
|
|
|
|
.field final synthetic bmW:I
|
|
|
|
.field final synthetic bmX:[B
|
|
|
|
.field final synthetic bmY:I
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lokhttp3/MediaType;I[BI)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lokhttp3/RequestBody$2;->bmU:Lokhttp3/MediaType;
|
|
|
|
iput p2, p0, Lokhttp3/RequestBody$2;->bmW:I
|
|
|
|
iput-object p3, p0, Lokhttp3/RequestBody$2;->bmX:[B
|
|
|
|
iput p4, p0, Lokhttp3/RequestBody$2;->bmY:I
|
|
|
|
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final contentLength()J
|
|
.locals 2
|
|
|
|
iget v0, p0, Lokhttp3/RequestBody$2;->bmW:I
|
|
|
|
int-to-long v0, v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final contentType()Lokhttp3/MediaType;
|
|
.locals 1
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lokhttp3/RequestBody$2;->bmU:Lokhttp3/MediaType;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final writeTo(Lokio/BufferedSink;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lokhttp3/RequestBody$2;->bmX:[B
|
|
|
|
iget v1, p0, Lokhttp3/RequestBody$2;->bmY:I
|
|
|
|
iget v2, p0, Lokhttp3/RequestBody$2;->bmW:I
|
|
|
|
invoke-interface {p1, v0, v1, v2}, Lokio/BufferedSink;->m([BII)Lokio/BufferedSink;
|
|
|
|
return-void
|
|
.end method
|