apkfuckery/com.discord/smali/androidx/versionedparcelable/VersionedParcelStream$InputBuffer.smali

58 lines
1.6 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class Landroidx/versionedparcelable/VersionedParcelStream$InputBuffer;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "VersionedParcelStream.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/versionedparcelable/VersionedParcelStream;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "InputBuffer"
.end annotation
# instance fields
.field final mFieldId:I
.field final mInputStream:Ljava/io/DataInputStream;
.field private final mSize:I
# direct methods
.method constructor <init>(IILjava/io/DataInputStream;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p2, p0, Landroidx/versionedparcelable/VersionedParcelStream$InputBuffer;->mSize:I
iput p1, p0, Landroidx/versionedparcelable/VersionedParcelStream$InputBuffer;->mFieldId:I
iget p1, p0, Landroidx/versionedparcelable/VersionedParcelStream$InputBuffer;->mSize:I
new-array p1, p1, [B
invoke-virtual {p3, p1}, Ljava/io/DataInputStream;->readFully([B)V
new-instance p2, Ljava/io/DataInputStream;
new-instance p3, Ljava/io/ByteArrayInputStream;
invoke-direct {p3, p1}, Ljava/io/ByteArrayInputStream;-><init>([B)V
invoke-direct {p2, p3}, Ljava/io/DataInputStream;-><init>(Ljava/io/InputStream;)V
iput-object p2, p0, Landroidx/versionedparcelable/VersionedParcelStream$InputBuffer;->mInputStream:Ljava/io/DataInputStream;
return-void
.end method