Rabbit-R1/switch port/smali/smali_classes3/okio/Buffer$inputStream$1.smali
2024-05-21 17:08:36 -04:00

183 lines
4.2 KiB
Smali

.class public final Lokio/Buffer$inputStream$1;
.super Ljava/io/InputStream;
.source "Buffer.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokio/Buffer;->inputStream()Ljava/io/InputStream;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nBuffer.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Buffer.kt\nokio/Buffer$inputStream$1\n+ 2 -Util.kt\nokio/-Util\n*L\n1#1,1019:1\n66#2:1020\n75#2:1021\n*E\n*S KotlinDebug\n*F\n+ 1 Buffer.kt\nokio/Buffer$inputStream$1\n*L\n119#1:1020\n129#1:1021\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\'\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0012\n\u0002\u0008\u0003\n\u0002\u0010\u000e\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016J\u0008\u0010\u0004\u001a\u00020\u0005H\u0016J\u0008\u0010\u0006\u001a\u00020\u0003H\u0016J \u0010\u0006\u001a\u00020\u00032\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u00032\u0006\u0010\n\u001a\u00020\u0003H\u0016J\u0008\u0010\u000b\u001a\u00020\u000cH\u0016\u00a8\u0006\r"
}
d2 = {
"okio/Buffer$inputStream$1",
"Ljava/io/InputStream;",
"available",
"",
"close",
"",
"read",
"sink",
"",
"offset",
"byteCount",
"toString",
"",
"okio"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field final synthetic this$0:Lokio/Buffer;
# direct methods
.method constructor <init>(Lokio/Buffer;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lokio/Buffer$inputStream$1;->this$0:Lokio/Buffer;
.line 116
invoke-direct {p0}, Ljava/io/InputStream;-><init>()V
return-void
.end method
# virtual methods
.method public available()I
.locals 4
iget-object p0, p0, Lokio/Buffer$inputStream$1;->this$0:Lokio/Buffer;
.line 129
invoke-virtual {p0}, Lokio/Buffer;->size()J
move-result-wide v0
const p0, 0x7fffffff
int-to-long v2, p0
.line 1021
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
move-result-wide v0
long-to-int p0, v0
return p0
.end method
.method public close()V
.locals 0
return-void
.end method
.method public read()I
.locals 4
iget-object v0, p0, Lokio/Buffer$inputStream$1;->this$0:Lokio/Buffer;
.line 118
invoke-virtual {v0}, Lokio/Buffer;->size()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-lez v0, :cond_0
iget-object p0, p0, Lokio/Buffer$inputStream$1;->this$0:Lokio/Buffer;
.line 119
invoke-virtual {p0}, Lokio/Buffer;->readByte()B
move-result p0
and-int/lit16 p0, p0, 0xff
goto :goto_0
:cond_0
const/4 p0, -0x1
:goto_0
return p0
.end method
.method public read([BII)I
.locals 1
const-string v0, "sink"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p0, p0, Lokio/Buffer$inputStream$1;->this$0:Lokio/Buffer;
.line 126
invoke-virtual {p0, p1, p2, p3}, Lokio/Buffer;->read([BII)I
move-result p0
return p0
.end method
.method public toString()Ljava/lang/String;
.locals 1
.line 133
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget-object p0, p0, Lokio/Buffer$inputStream$1;->this$0:Lokio/Buffer;
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object p0
const-string v0, ".inputStream()"
invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method