55 lines
1.3 KiB
Smali
55 lines
1.3 KiB
Smali
|
|
.class public final Lpl/droidsonroids/gif/InputSource$ByteArraySource;
|
||
|
|
.super Lpl/droidsonroids/gif/InputSource;
|
||
|
|
.source "InputSource.java"
|
||
|
|
|
||
|
|
|
||
|
|
# annotations
|
||
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
|
value = Lpl/droidsonroids/gif/InputSource;
|
||
|
|
.end annotation
|
||
|
|
|
||
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
|
accessFlags = 0x19
|
||
|
|
name = "ByteArraySource"
|
||
|
|
.end annotation
|
||
|
|
|
||
|
|
|
||
|
|
# instance fields
|
||
|
|
.field private final bytes:[B
|
||
|
|
|
||
|
|
|
||
|
|
# direct methods
|
||
|
|
.method public constructor <init>([B)V
|
||
|
|
.locals 1
|
||
|
|
|
||
|
|
const/4 v0, 0x0
|
||
|
|
|
||
|
|
.line 76
|
||
|
|
invoke-direct {p0, v0}, Lpl/droidsonroids/gif/InputSource;-><init>(Lpl/droidsonroids/gif/InputSource$1;)V
|
||
|
|
|
||
|
|
.line 77
|
||
|
|
iput-object p1, p0, Lpl/droidsonroids/gif/InputSource$ByteArraySource;->bytes:[B
|
||
|
|
|
||
|
|
return-void
|
||
|
|
.end method
|
||
|
|
|
||
|
|
|
||
|
|
# virtual methods
|
||
|
|
.method open()Lpl/droidsonroids/gif/GifInfoHandle;
|
||
|
|
.locals 2
|
||
|
|
.annotation system Ldalvik/annotation/Throws;
|
||
|
|
value = {
|
||
|
|
Lpl/droidsonroids/gif/GifIOException;
|
||
|
|
}
|
||
|
|
.end annotation
|
||
|
|
|
||
|
|
.line 82
|
||
|
|
new-instance v0, Lpl/droidsonroids/gif/GifInfoHandle;
|
||
|
|
|
||
|
|
iget-object v1, p0, Lpl/droidsonroids/gif/InputSource$ByteArraySource;->bytes:[B
|
||
|
|
|
||
|
|
invoke-direct {v0, v1}, Lpl/droidsonroids/gif/GifInfoHandle;-><init>([B)V
|
||
|
|
|
||
|
|
return-object v0
|
||
|
|
.end method
|