129 lines
2.4 KiB
Smali
129 lines
2.4 KiB
Smali
.class public final Le0/e$b;
|
|
.super Ljava/io/InputStream;
|
|
.source "Buffer.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Le0/e;->M0()Ljava/io/InputStream;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic d:Le0/e;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Le0/e;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Le0/e$b;->d:Le0/e;
|
|
|
|
invoke-direct {p0}, Ljava/io/InputStream;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public available()I
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Le0/e$b;->d:Le0/e;
|
|
|
|
iget-wide v0, v0, Le0/e;->e:J
|
|
|
|
const v2, 0x7fffffff
|
|
|
|
int-to-long v2, v2
|
|
|
|
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide v0
|
|
|
|
long-to-int v1, v0
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method public close()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public read()I
|
|
.locals 6
|
|
|
|
iget-object v0, p0, Le0/e$b;->d:Le0/e;
|
|
|
|
iget-wide v1, v0, Le0/e;->e:J
|
|
|
|
const-wide/16 v3, 0x0
|
|
|
|
cmp-long v5, v1, v3
|
|
|
|
if-lez v5, :cond_0
|
|
|
|
invoke-virtual {v0}, Le0/e;->readByte()B
|
|
|
|
move-result v0
|
|
|
|
and-int/lit16 v0, v0, 0xff
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, -0x1
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public read([BII)I
|
|
.locals 1
|
|
|
|
const-string v0, "sink"
|
|
|
|
invoke-static {p1, v0}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Le0/e$b;->d:Le0/e;
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Le0/e;->read([BII)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iget-object v1, p0, Le0/e$b;->d:Le0/e;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ".inputStream()"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|