Rabbit-R1/switch port/smali/smali_classes3/okhttp3/RequestBody$Companion$toRequestBody$2.smali
2024-05-21 17:08:36 -04:00

112 lines
3 KiB
Smali

.class public final Lokhttp3/RequestBody$Companion$toRequestBody$2;
.super Lokhttp3/RequestBody;
.source "RequestBody.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/RequestBody$Companion;->create([BLokhttp3/MediaType;II)Lokhttp3/RequestBody;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000#\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016J\n\u0010\u0004\u001a\u0004\u0018\u00010\u0005H\u0016J\u0010\u0010\u0006\u001a\u00020\u00072\u0006\u0010\u0008\u001a\u00020\tH\u0016\u00a8\u0006\n"
}
d2 = {
"okhttp3/RequestBody$Companion$toRequestBody$2",
"Lokhttp3/RequestBody;",
"contentLength",
"",
"contentType",
"Lokhttp3/MediaType;",
"writeTo",
"",
"sink",
"Lokio/BufferedSink;",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field final synthetic $byteCount:I
.field final synthetic $contentType:Lokhttp3/MediaType;
.field final synthetic $offset:I
.field final synthetic $this_toRequestBody:[B
# direct methods
.method constructor <init>([BLokhttp3/MediaType;II)V
.locals 0
iput-object p1, p0, Lokhttp3/RequestBody$Companion$toRequestBody$2;->$this_toRequestBody:[B
iput-object p2, p0, Lokhttp3/RequestBody$Companion$toRequestBody$2;->$contentType:Lokhttp3/MediaType;
iput p3, p0, Lokhttp3/RequestBody$Companion$toRequestBody$2;->$byteCount:I
iput p4, p0, Lokhttp3/RequestBody$Companion$toRequestBody$2;->$offset:I
.line 146
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
return-void
.end method
# virtual methods
.method public contentLength()J
.locals 2
iget p0, p0, Lokhttp3/RequestBody$Companion$toRequestBody$2;->$byteCount:I
int-to-long v0, p0
return-wide v0
.end method
.method public contentType()Lokhttp3/MediaType;
.locals 0
iget-object p0, p0, Lokhttp3/RequestBody$Companion$toRequestBody$2;->$contentType:Lokhttp3/MediaType;
return-object p0
.end method
.method public writeTo(Lokio/BufferedSink;)V
.locals 2
const-string v0, "sink"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lokhttp3/RequestBody$Companion$toRequestBody$2;->$this_toRequestBody:[B
iget v1, p0, Lokhttp3/RequestBody$Companion$toRequestBody$2;->$offset:I
iget p0, p0, Lokhttp3/RequestBody$Companion$toRequestBody$2;->$byteCount:I
.line 152
invoke-interface {p1, v0, v1, p0}, Lokio/BufferedSink;->write([BII)Lokio/BufferedSink;
return-void
.end method