57 lines
1.5 KiB
Smali
57 lines
1.5 KiB
Smali
|
.class Landroidx/versionedparcelable/VersionedParcelStream$InputBuffer;
|
||
|
.super Ljava/lang/Object;
|
||
|
|
||
|
|
||
|
# 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
|