b.smali
.class public final Lorg/apache/commons/compress/a/b;
.super Ljava/lang/Object;
.source "ByteUtils.java"
# direct methods
.method public static a(Ljava/io/DataInput;I)J
.registers 8
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
invoke-static {p1}, Lorg/apache/commons/compress/a/b;->a(I)V
const-wide/16 v0, 0x0
const/4 v2, 0x0
:goto_6
if-ge v2, p1, :cond_14
.line 2
invoke-interface {p0}, Ljava/io/DataInput;->readUnsignedByte()I
move-result v3
int-to-long v3, v3
mul-int/lit8 v5, v2, 0x8
shl-long/2addr v3, v5
or-long/2addr v0, v3
add-int/lit8 v2, v2, 0x1
goto :goto_6
:cond_14
return-wide v0
.end method
.method private static final a(I)V
.registers 2
const/16 v0, 0x8
if-gt p0, v0, :cond_5
return-void
.line 3
:cond_5
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "can\'t read more than eight bytes into a long value"
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method