You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
1.8 KiB
86 lines
1.8 KiB
2 years ago
|
.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 = 0x8
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic val$byteCount:I
|
||
|
|
||
|
.field final synthetic val$content:[B
|
||
|
|
||
|
.field final synthetic val$contentType:Lokhttp3/MediaType;
|
||
|
|
||
|
.field final synthetic val$offset:I
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lokhttp3/MediaType;I[BI)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 86
|
||
|
iput-object p1, p0, Lokhttp3/RequestBody$2;->val$contentType:Lokhttp3/MediaType;
|
||
|
|
||
|
iput p2, p0, Lokhttp3/RequestBody$2;->val$byteCount:I
|
||
|
|
||
|
iput-object p3, p0, Lokhttp3/RequestBody$2;->val$content:[B
|
||
|
|
||
|
iput p4, p0, Lokhttp3/RequestBody$2;->val$offset:I
|
||
|
|
||
|
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public contentLength()J
|
||
|
.locals 2
|
||
|
|
||
|
.prologue
|
||
|
.line 92
|
||
|
iget v0, p0, Lokhttp3/RequestBody$2;->val$byteCount:I
|
||
|
|
||
|
int-to-long v0, v0
|
||
|
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public contentType()Lokhttp3/MediaType;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 88
|
||
|
iget-object v0, p0, Lokhttp3/RequestBody$2;->val$contentType:Lokhttp3/MediaType;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public writeTo(Lokio/BufferedSink;)V
|
||
|
.locals 3
|
||
|
|
||
|
.prologue
|
||
|
.line 96
|
||
|
iget-object v0, p0, Lokhttp3/RequestBody$2;->val$content:[B
|
||
|
|
||
|
iget v1, p0, Lokhttp3/RequestBody$2;->val$offset:I
|
||
|
|
||
|
iget v2, p0, Lokhttp3/RequestBody$2;->val$byteCount:I
|
||
|
|
||
|
invoke-interface {p1, v0, v1, v2}, Lokio/BufferedSink;->write([BII)Lokio/BufferedSink;
|
||
|
|
||
|
.line 97
|
||
|
return-void
|
||
|
.end method
|