public class com.sun.imageio.plugins.common.LZWCompressor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.imageio.plugins.common.LZWCompressor
super_class: java.lang.Object
{
int codeSize;
descriptor: I
flags: (0x0000)
int clearCode;
descriptor: I
flags: (0x0000)
int endOfInfo;
descriptor: I
flags: (0x0000)
int numBits;
descriptor: I
flags: (0x0000)
int limit;
descriptor: I
flags: (0x0000)
short prefix;
descriptor: S
flags: (0x0000)
com.sun.imageio.plugins.common.BitFile bf;
descriptor: Lcom/sun/imageio/plugins/common/BitFile;
flags: (0x0000)
com.sun.imageio.plugins.common.LZWStringTable lzss;
descriptor: Lcom/sun/imageio/plugins/common/LZWStringTable;
flags: (0x0000)
boolean tiffFudge;
descriptor: Z
flags: (0x0000)
public void <init>(javax.imageio.stream.ImageOutputStream, int, boolean);
descriptor: (Ljavax/imageio/stream/ImageOutputStream;IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new com.sun.imageio.plugins.common.BitFile
dup
aload 1
iload 3
ifeq 3
iconst_0
goto 4
StackMap locals: com.sun.imageio.plugins.common.LZWCompressor javax.imageio.stream.ImageOutputStream int int
StackMap stack: com.sun.imageio.plugins.common.LZWCompressor new 2 new 2 javax.imageio.stream.ImageOutputStream
3: iconst_1
StackMap locals: com.sun.imageio.plugins.common.LZWCompressor javax.imageio.stream.ImageOutputStream int int
StackMap stack: com.sun.imageio.plugins.common.LZWCompressor new 2 new 2 javax.imageio.stream.ImageOutputStream int
4: invokespecial com.sun.imageio.plugins.common.BitFile.<init>:(Ljavax/imageio/stream/ImageOutputStream;Z)V
putfield com.sun.imageio.plugins.common.LZWCompressor.bf:Lcom/sun/imageio/plugins/common/BitFile;
5: aload 0
iload 2
putfield com.sun.imageio.plugins.common.LZWCompressor.codeSize:I
6: aload 0
iload 3
putfield com.sun.imageio.plugins.common.LZWCompressor.tiffFudge:Z
7: aload 0
iconst_1
iload 2
ishl
putfield com.sun.imageio.plugins.common.LZWCompressor.clearCode:I
8: aload 0
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.clearCode:I
iconst_1
iadd
putfield com.sun.imageio.plugins.common.LZWCompressor.endOfInfo:I
9: aload 0
iload 2
iconst_1
iadd
putfield com.sun.imageio.plugins.common.LZWCompressor.numBits:I
10: aload 0
iconst_1
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.numBits:I
ishl
iconst_1
isub
putfield com.sun.imageio.plugins.common.LZWCompressor.limit:I
11: aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.tiffFudge:Z
ifeq 13
12: aload 0
dup
getfield com.sun.imageio.plugins.common.LZWCompressor.limit:I
iconst_1
isub
putfield com.sun.imageio.plugins.common.LZWCompressor.limit:I
13: StackMap locals:
StackMap stack:
aload 0
iconst_m1
putfield com.sun.imageio.plugins.common.LZWCompressor.prefix:S
14: aload 0
new com.sun.imageio.plugins.common.LZWStringTable
dup
invokespecial com.sun.imageio.plugins.common.LZWStringTable.<init>:()V
putfield com.sun.imageio.plugins.common.LZWCompressor.lzss:Lcom/sun/imageio/plugins/common/LZWStringTable;
15: aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.lzss:Lcom/sun/imageio/plugins/common/LZWStringTable;
iload 2
invokevirtual com.sun.imageio.plugins.common.LZWStringTable.clearTable:(I)V
16: aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.bf:Lcom/sun/imageio/plugins/common/BitFile;
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.clearCode:I
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.numBits:I
invokevirtual com.sun.imageio.plugins.common.BitFile.writeBits:(II)V
17: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/imageio/plugins/common/LZWCompressor;
0 18 1 out Ljavax/imageio/stream/ImageOutputStream;
0 18 2 codeSize I
0 18 3 TIFF Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
codeSize
TIFF
public void compress(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 3
iadd
istore 7
start local 7 1: iload 2
istore 4
start local 4 2: goto 21
3: StackMap locals: com.sun.imageio.plugins.common.LZWCompressor byte[] int int int top top int
StackMap stack:
aload 1
iload 4
baload
istore 5
start local 5 4: aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.lzss:Lcom/sun/imageio/plugins/common/LZWStringTable;
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.prefix:S
iload 5
invokevirtual com.sun.imageio.plugins.common.LZWStringTable.findCharString:(SB)S
dup
istore 6
start local 6 5: iconst_m1
if_icmpeq 8
6: aload 0
iload 6
putfield com.sun.imageio.plugins.common.LZWCompressor.prefix:S
7: goto 20
8: StackMap locals: com.sun.imageio.plugins.common.LZWCompressor byte[] int int int int int int
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.bf:Lcom/sun/imageio/plugins/common/BitFile;
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.prefix:S
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.numBits:I
invokevirtual com.sun.imageio.plugins.common.BitFile.writeBits:(II)V
9: aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.lzss:Lcom/sun/imageio/plugins/common/LZWStringTable;
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.prefix:S
iload 5
invokevirtual com.sun.imageio.plugins.common.LZWStringTable.addCharString:(SB)I
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.limit:I
if_icmple 19
10: aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.numBits:I
bipush 12
if_icmpne 15
11: aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.bf:Lcom/sun/imageio/plugins/common/BitFile;
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.clearCode:I
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.numBits:I
invokevirtual com.sun.imageio.plugins.common.BitFile.writeBits:(II)V
12: aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.lzss:Lcom/sun/imageio/plugins/common/LZWStringTable;
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.codeSize:I
invokevirtual com.sun.imageio.plugins.common.LZWStringTable.clearTable:(I)V
13: aload 0
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.codeSize:I
iconst_1
iadd
putfield com.sun.imageio.plugins.common.LZWCompressor.numBits:I
14: goto 16
15: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.imageio.plugins.common.LZWCompressor.numBits:I
iconst_1
iadd
putfield com.sun.imageio.plugins.common.LZWCompressor.numBits:I
16: StackMap locals:
StackMap stack:
aload 0
iconst_1
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.numBits:I
ishl
iconst_1
isub
putfield com.sun.imageio.plugins.common.LZWCompressor.limit:I
17: aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.tiffFudge:Z
ifeq 19
18: aload 0
dup
getfield com.sun.imageio.plugins.common.LZWCompressor.limit:I
iconst_1
isub
putfield com.sun.imageio.plugins.common.LZWCompressor.limit:I
19: StackMap locals:
StackMap stack:
aload 0
iload 5
i2s
sipush 255
iand
i2s
putfield com.sun.imageio.plugins.common.LZWCompressor.prefix:S
20: StackMap locals:
StackMap stack:
iinc 4 1
end local 6 end local 5 StackMap locals: com.sun.imageio.plugins.common.LZWCompressor byte[] int int int top top int
StackMap stack:
21: iload 4
iload 7
if_icmplt 3
22: return
end local 7 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/imageio/plugins/common/LZWCompressor;
0 23 1 buf [B
0 23 2 offset I
0 23 3 length I
2 23 4 idx I
4 21 5 c B
5 21 6 index S
1 23 7 maxOffset I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
offset
length
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.prefix:S
iconst_m1
if_icmpeq 2
1: aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.bf:Lcom/sun/imageio/plugins/common/BitFile;
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.prefix:S
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.numBits:I
invokevirtual com.sun.imageio.plugins.common.BitFile.writeBits:(II)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.bf:Lcom/sun/imageio/plugins/common/BitFile;
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.endOfInfo:I
aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.numBits:I
invokevirtual com.sun.imageio.plugins.common.BitFile.writeBits:(II)V
3: aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.bf:Lcom/sun/imageio/plugins/common/BitFile;
invokevirtual com.sun.imageio.plugins.common.BitFile.flush:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/imageio/plugins/common/LZWCompressor;
Exceptions:
throws java.io.IOException
public void dump(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.imageio.plugins.common.LZWCompressor.lzss:Lcom/sun/imageio/plugins/common/LZWStringTable;
aload 1
invokevirtual com.sun.imageio.plugins.common.LZWStringTable.dump:(Ljava/io/PrintStream;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/imageio/plugins/common/LZWCompressor;
0 2 1 out Ljava/io/PrintStream;
MethodParameters:
Name Flags
out
}
SourceFile: "LZWCompressor.java"