public class com.sun.imageio.plugins.common.BitFile
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.imageio.plugins.common.BitFile
super_class: java.lang.Object
{
javax.imageio.stream.ImageOutputStream output;
descriptor: Ljavax/imageio/stream/ImageOutputStream;
flags: (0x0000)
byte[] buffer;
descriptor: [B
flags: (0x0000)
int index;
descriptor: I
flags: (0x0000)
int bitsLeft;
descriptor: I
flags: (0x0000)
boolean blocks;
descriptor: Z
flags: (0x0000)
public void <init>(javax.imageio.stream.ImageOutputStream, boolean);
descriptor: (Ljavax/imageio/stream/ImageOutputStream;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.imageio.plugins.common.BitFile.blocks:Z
2: aload 0
aload 1
putfield com.sun.imageio.plugins.common.BitFile.output:Ljavax/imageio/stream/ImageOutputStream;
3: aload 0
iload 2
putfield com.sun.imageio.plugins.common.BitFile.blocks:Z
4: aload 0
sipush 256
newarray 8
putfield com.sun.imageio.plugins.common.BitFile.buffer:[B
5: aload 0
iconst_0
putfield com.sun.imageio.plugins.common.BitFile.index:I
6: aload 0
bipush 8
putfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/imageio/plugins/common/BitFile;
0 8 1 output Ljavax/imageio/stream/ImageOutputStream;
0 8 2 blocks Z
MethodParameters:
Name Flags
output
blocks
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.imageio.plugins.common.BitFile.index:I
aload 0
getfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
bipush 8
if_icmpne 1
iconst_0
goto 2
StackMap locals:
StackMap stack: int
1: iconst_1
StackMap locals: com.sun.imageio.plugins.common.BitFile
StackMap stack: int int
2: iadd
istore 1
start local 1 3: iload 1
ifle 10
4: aload 0
getfield com.sun.imageio.plugins.common.BitFile.blocks:Z
ifeq 6
5: aload 0
getfield com.sun.imageio.plugins.common.BitFile.output:Ljavax/imageio/stream/ImageOutputStream;
iload 1
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
6: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.common.BitFile.output:Ljavax/imageio/stream/ImageOutputStream;
aload 0
getfield com.sun.imageio.plugins.common.BitFile.buffer:[B
iconst_0
iload 1
invokeinterface javax.imageio.stream.ImageOutputStream.write:([BII)V
7: aload 0
getfield com.sun.imageio.plugins.common.BitFile.buffer:[B
iconst_0
iconst_0
bastore
8: aload 0
iconst_0
putfield com.sun.imageio.plugins.common.BitFile.index:I
9: aload 0
bipush 8
putfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/imageio/plugins/common/BitFile;
3 11 1 numBytes I
Exceptions:
throws java.io.IOException
public void writeBits(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: sipush 255
istore 3
start local 3 1: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.common.BitFile.index:I
sipush 254
if_icmpne 2
aload 0
getfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
ifeq 3
StackMap locals:
StackMap stack:
2: aload 0
getfield com.sun.imageio.plugins.common.BitFile.index:I
sipush 254
if_icmple 9
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.common.BitFile.blocks:Z
ifeq 5
4: aload 0
getfield com.sun.imageio.plugins.common.BitFile.output:Ljavax/imageio/stream/ImageOutputStream;
iload 3
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.common.BitFile.output:Ljavax/imageio/stream/ImageOutputStream;
aload 0
getfield com.sun.imageio.plugins.common.BitFile.buffer:[B
iconst_0
iload 3
invokeinterface javax.imageio.stream.ImageOutputStream.write:([BII)V
6: aload 0
getfield com.sun.imageio.plugins.common.BitFile.buffer:[B
iconst_0
iconst_0
bastore
7: aload 0
iconst_0
putfield com.sun.imageio.plugins.common.BitFile.index:I
8: aload 0
bipush 8
putfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
9: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
if_icmpgt 19
10: aload 0
getfield com.sun.imageio.plugins.common.BitFile.blocks:Z
ifeq 15
11: aload 0
getfield com.sun.imageio.plugins.common.BitFile.buffer:[B
aload 0
getfield com.sun.imageio.plugins.common.BitFile.index:I
dup2
baload
iload 1
iconst_1
iload 2
ishl
iconst_1
isub
iand
bipush 8
aload 0
getfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
isub
ishl
ior
i2b
bastore
12: aload 0
dup
getfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
iload 2
isub
putfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
13: iconst_0
istore 2
14: goto 31
15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.common.BitFile.buffer:[B
aload 0
getfield com.sun.imageio.plugins.common.BitFile.index:I
dup2
baload
iload 1
iconst_1
iload 2
ishl
iconst_1
isub
iand
aload 0
getfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
iload 2
isub
ishl
ior
i2b
bastore
16: aload 0
dup
getfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
iload 2
isub
putfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
17: iconst_0
istore 2
18: goto 31
19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.common.BitFile.blocks:Z
ifeq 26
20: aload 0
getfield com.sun.imageio.plugins.common.BitFile.buffer:[B
aload 0
getfield com.sun.imageio.plugins.common.BitFile.index:I
dup2
baload
iload 1
iconst_1
aload 0
getfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
ishl
iconst_1
isub
iand
bipush 8
aload 0
getfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
isub
ishl
ior
i2b
bastore
21: iload 1
aload 0
getfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
ishr
istore 1
22: iload 2
aload 0
getfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
isub
istore 2
23: aload 0
getfield com.sun.imageio.plugins.common.BitFile.buffer:[B
aload 0
dup
getfield com.sun.imageio.plugins.common.BitFile.index:I
iconst_1
iadd
dup_x1
putfield com.sun.imageio.plugins.common.BitFile.index:I
iconst_0
bastore
24: aload 0
bipush 8
putfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
25: goto 31
26: StackMap locals:
StackMap stack:
iload 1
iload 2
aload 0
getfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
isub
iushr
iconst_1
aload 0
getfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
ishl
iconst_1
isub
iand
istore 4
start local 4 27: aload 0
getfield com.sun.imageio.plugins.common.BitFile.buffer:[B
aload 0
getfield com.sun.imageio.plugins.common.BitFile.index:I
dup2
baload
iload 4
ior
i2b
bastore
28: iload 2
aload 0
getfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
isub
istore 2
29: aload 0
getfield com.sun.imageio.plugins.common.BitFile.buffer:[B
aload 0
dup
getfield com.sun.imageio.plugins.common.BitFile.index:I
iconst_1
iadd
dup_x1
putfield com.sun.imageio.plugins.common.BitFile.index:I
iconst_0
bastore
30: aload 0
bipush 8
putfield com.sun.imageio.plugins.common.BitFile.bitsLeft:I
end local 4 31: StackMap locals:
StackMap stack:
iload 2
ifne 1
32: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lcom/sun/imageio/plugins/common/BitFile;
0 33 1 bits I
0 33 2 numbits I
1 33 3 numBytes I
27 31 4 topbits I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bits
numbits
}
SourceFile: "BitFile.java"