public class com.sun.javafx.iio.png.PNGIDATChunkInputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.iio.png.PNGIDATChunkInputStream
super_class: java.io.InputStream
{
static final int IDAT_TYPE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1229209940
private java.io.DataInputStream source;
descriptor: Ljava/io/DataInputStream;
flags: (0x0002) ACC_PRIVATE
private int numBytesAvailable;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean foundAllIDATChunks;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int nextChunkLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int nextChunkType;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(java.io.DataInputStream, int);
descriptor: (Ljava/io/DataInputStream;I)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
iconst_0
putfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
2: aload 0
iconst_0
putfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.foundAllIDATChunks:Z
3: aload 0
iconst_0
putfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.nextChunkLength:I
4: aload 0
iconst_0
putfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.nextChunkType:I
5: iload 2
ifge 7
6: new java.io.IOException
dup
ldc "Invalid chunk length"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: com.sun.javafx.iio.png.PNGIDATChunkInputStream java.io.DataInputStream int
StackMap stack:
aload 0
aload 1
putfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.source:Ljava/io/DataInputStream;
8: aload 0
iload 2
putfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/javafx/iio/png/PNGIDATChunkInputStream;
0 10 1 input Ljava/io/DataInputStream;
0 10 2 firstIDATChunkLength I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
firstIDATChunkLength
private void nextChunk();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.foundAllIDATChunks:Z
ifne 12
1: aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.source:Ljava/io/DataInputStream;
ldc 4
invokestatic com.sun.javafx.iio.common.ImageTools.skipFully:(Ljava/io/InputStream;J)V
2: aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.source:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.readInt:()I
istore 1
start local 1 3: iload 1
ifge 5
4: new java.io.IOException
dup
ldc "Invalid chunk length"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.source:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.readInt:()I
istore 2
start local 2 6: iload 2
ldc 1229209940
if_icmpne 9
7: aload 0
dup
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
iload 1
iadd
putfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
8: goto 12
9: StackMap locals: int
StackMap stack:
aload 0
iconst_1
putfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.foundAllIDATChunks:Z
10: aload 0
iload 1
putfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.nextChunkLength:I
11: aload 0
iload 2
putfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.nextChunkType:I
end local 2 end local 1 12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/javafx/iio/png/PNGIDATChunkInputStream;
3 12 1 chunkLength I
6 12 2 chunkType I
Exceptions:
throws java.io.IOException
boolean isFoundAllIDATChunks();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.foundAllIDATChunks:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/iio/png/PNGIDATChunkInputStream;
int getNextChunkLength();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.nextChunkLength:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/iio/png/PNGIDATChunkInputStream;
int getNextChunkType();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.nextChunkType:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/iio/png/PNGIDATChunkInputStream;
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
ifne 2
1: aload 0
invokevirtual com.sun.javafx.iio.png.PNGIDATChunkInputStream.nextChunk:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
ifne 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
iconst_1
isub
putfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
5: aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.source:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.read:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/iio/png/PNGIDATChunkInputStream;
Exceptions:
throws java.io.IOException
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
ifne 4
1: aload 0
invokevirtual com.sun.javafx.iio.png.PNGIDATChunkInputStream.nextChunk:()V
2: aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
ifne 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 5: goto 18
6: StackMap locals: int
StackMap stack:
iload 3
aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
if_icmpge 7
iload 3
goto 8
StackMap locals:
StackMap stack:
7: aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
StackMap locals:
StackMap stack: int
8: istore 5
start local 5 9: aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.source:Ljava/io/DataInputStream;
aload 1
iload 2
iload 5
invokevirtual java.io.DataInputStream.read:([BII)I
istore 6
start local 6 10: iload 6
iconst_m1
if_icmpne 12
11: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
12: StackMap locals: int int
StackMap stack:
aload 0
dup
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
iload 6
isub
putfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
13: iload 2
iload 6
iadd
istore 2
14: iload 3
iload 6
isub
istore 3
15: iload 4
iload 6
iadd
istore 4
16: aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
ifne 18
iload 3
ifle 18
17: aload 0
invokevirtual com.sun.javafx.iio.png.PNGIDATChunkInputStream.nextChunk:()V
end local 6 end local 5 18: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.iio.png.PNGIDATChunkInputStream.numBytesAvailable:I
ifle 19
iload 3
ifgt 6
19: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/javafx/iio/png/PNGIDATChunkInputStream;
0 20 1 b [B
0 20 2 off I
0 20 3 len I
5 20 4 totalRead I
9 18 5 numToRead I
10 18 6 numRead I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
}
SourceFile: "PNGIDATChunkInputStream.java"