Rabbit-R1/android (non root)/smali/smali_classes3/okhttp3/internal/http2/Http2Reader$Companion.smali

136 lines
3.3 KiB
Smali
Raw Normal View History

2024-05-21 21:08:36 +00:00
.class public final Lokhttp3/internal/http2/Http2Reader$Companion;
.super Ljava/lang/Object;
.source "Http2Reader.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Http2Reader;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0004\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u001e\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u00082\u0006\u0010\n\u001a\u00020\u00082\u0006\u0010\u000b\u001a\u00020\u0008R\u0011\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0005\u0010\u0006\u00a8\u0006\u000c"
}
d2 = {
"Lokhttp3/internal/http2/Http2Reader$Companion;",
"",
"()V",
"logger",
"Ljava/util/logging/Logger;",
"getLogger",
"()Ljava/util/logging/Logger;",
"lengthWithoutPadding",
"",
"length",
"flags",
"padding",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 495
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
.line 495
invoke-direct {p0}, Lokhttp3/internal/http2/Http2Reader$Companion;-><init>()V
return-void
.end method
# virtual methods
.method public final getLogger()Ljava/util/logging/Logger;
.locals 0
.line 496
invoke-static {}, Lokhttp3/internal/http2/Http2Reader;->access$getLogger$cp()Ljava/util/logging/Logger;
move-result-object p0
return-object p0
.end method
.method public final lengthWithoutPadding(III)I
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
and-int/lit8 p0, p2, 0x8
if-eqz p0, :cond_0
add-int/lit8 p1, p1, -0x1
:cond_0
if-gt p3, p1, :cond_1
sub-int/2addr p1, p3
return p1
.line 503
:cond_1
new-instance p0, Ljava/io/IOException;
new-instance p2, Ljava/lang/StringBuilder;
const-string v0, "PROTOCOL_ERROR padding "
invoke-direct {p2, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object p2
const-string p3, " > remaining length "
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p2
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
.end method