55 lines
1.4 KiB
Smali
55 lines
1.4 KiB
Smali
.class public final Lpl/droidsonroids/gif/InputSource$DirectByteBufferSource;
|
|
.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 = "DirectByteBufferSource"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final byteBuffer:Ljava/nio/ByteBuffer;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/nio/ByteBuffer;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 54
|
|
invoke-direct {p0, v0}, Lpl/droidsonroids/gif/InputSource;-><init>(Lpl/droidsonroids/gif/InputSource$1;)V
|
|
|
|
.line 55
|
|
iput-object p1, p0, Lpl/droidsonroids/gif/InputSource$DirectByteBufferSource;->byteBuffer:Ljava/nio/ByteBuffer;
|
|
|
|
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 60
|
|
new-instance v0, Lpl/droidsonroids/gif/GifInfoHandle;
|
|
|
|
iget-object v1, p0, Lpl/droidsonroids/gif/InputSource$DirectByteBufferSource;->byteBuffer:Ljava/nio/ByteBuffer;
|
|
|
|
invoke-direct {v0, v1}, Lpl/droidsonroids/gif/GifInfoHandle;-><init>(Ljava/nio/ByteBuffer;)V
|
|
|
|
return-object v0
|
|
.end method
|