public final class com.sun.imageio.plugins.common.SubImageInputStream extends javax.imageio.stream.ImageInputStreamImpl
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.imageio.plugins.common.SubImageInputStream
super_class: javax.imageio.stream.ImageInputStreamImpl
{
javax.imageio.stream.ImageInputStream stream;
descriptor: Ljavax/imageio/stream/ImageInputStream;
flags: (0x0000)
long startingPos;
descriptor: J
flags: (0x0000)
int startingLength;
descriptor: I
flags: (0x0000)
int length;
descriptor: I
flags: (0x0000)
public void <init>(javax.imageio.stream.ImageInputStream, int);
descriptor: (Ljavax/imageio/stream/ImageInputStream;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial javax.imageio.stream.ImageInputStreamImpl.<init>:()V
1: aload 0
aload 1
putfield com.sun.imageio.plugins.common.SubImageInputStream.stream:Ljavax/imageio/stream/ImageInputStream;
2: aload 0
aload 1
invokeinterface javax.imageio.stream.ImageInputStream.getStreamPosition:()J
putfield com.sun.imageio.plugins.common.SubImageInputStream.startingPos:J
3: aload 0
aload 0
iload 2
dup_x1
putfield com.sun.imageio.plugins.common.SubImageInputStream.length:I
putfield com.sun.imageio.plugins.common.SubImageInputStream.startingLength:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/imageio/plugins/common/SubImageInputStream;
0 5 1 stream Ljavax/imageio/stream/ImageInputStream;
0 5 2 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stream
length
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.imageio.plugins.common.SubImageInputStream.length:I
ifne 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.imageio.plugins.common.SubImageInputStream.length:I
iconst_1
isub
putfield com.sun.imageio.plugins.common.SubImageInputStream.length:I
3: aload 0
getfield com.sun.imageio.plugins.common.SubImageInputStream.stream:Ljavax/imageio/stream/ImageInputStream;
invokeinterface javax.imageio.stream.ImageInputStream.read:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/imageio/plugins/common/SubImageInputStream;
Exceptions:
throws java.io.IOException
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.imageio.plugins.common.SubImageInputStream.length:I
ifne 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield com.sun.imageio.plugins.common.SubImageInputStream.length:I
invokestatic java.lang.Math.min:(II)I
istore 3
3: aload 0
getfield com.sun.imageio.plugins.common.SubImageInputStream.stream:Ljavax/imageio/stream/ImageInputStream;
aload 1
iload 2
iload 3
invokeinterface javax.imageio.stream.ImageInputStream.read:([BII)I
istore 4
start local 4 4: aload 0
dup
getfield com.sun.imageio.plugins.common.SubImageInputStream.length:I
iload 4
isub
putfield com.sun.imageio.plugins.common.SubImageInputStream.length:I
5: 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 6 0 this Lcom/sun/imageio/plugins/common/SubImageInputStream;
0 6 1 b [B
0 6 2 off I
0 6 3 len I
4 6 4 bytes I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public long length();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.imageio.plugins.common.SubImageInputStream.startingLength:I
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/common/SubImageInputStream;
public void seek(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.imageio.plugins.common.SubImageInputStream.stream:Ljavax/imageio/stream/ImageInputStream;
lload 1
aload 0
getfield com.sun.imageio.plugins.common.SubImageInputStream.startingPos:J
lsub
invokeinterface javax.imageio.stream.ImageInputStream.seek:(J)V
1: aload 0
lload 1
putfield com.sun.imageio.plugins.common.SubImageInputStream.streamPos:J
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/imageio/plugins/common/SubImageInputStream;
0 3 1 pos J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
pos
protected void finalize();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/common/SubImageInputStream;
Exceptions:
throws java.lang.Throwable
}
SourceFile: "SubImageInputStream.java"