public class org.apache.batik.util.io.UTF16Decoder extends org.apache.batik.util.io.AbstractCharDecoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.batik.util.io.UTF16Decoder
super_class: org.apache.batik.util.io.AbstractCharDecoder
{
protected boolean bigEndian;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.batik.util.io.AbstractCharDecoder.<init>:(Ljava/io/InputStream;)V
1: aload 1
invokevirtual java.io.InputStream.read:()I
istore 2
start local 2 2: iload 2
iconst_m1
if_icmpne 4
3: aload 0
ldc "UTF-16"
invokevirtual org.apache.batik.util.io.UTF16Decoder.endOfStreamError:(Ljava/lang/String;)V
4: StackMap locals: org.apache.batik.util.io.UTF16Decoder java.io.InputStream int
StackMap stack:
aload 1
invokevirtual java.io.InputStream.read:()I
istore 3
start local 3 5: iload 3
iconst_m1
if_icmpne 7
6: aload 0
ldc "UTF-16"
invokevirtual org.apache.batik.util.io.UTF16Decoder.endOfStreamError:(Ljava/lang/String;)V
7: StackMap locals: int
StackMap stack:
iload 2
sipush 255
iand
bipush 8
ishl
iload 3
sipush 255
iand
ior
istore 4
start local 4 8: iload 4
lookupswitch { // 2
65279: 9
65534: 11
default: 12
}
9: StackMap locals: int
StackMap stack:
aload 0
iconst_1
putfield org.apache.batik.util.io.UTF16Decoder.bigEndian:Z
10: goto 13
11: StackMap locals:
StackMap stack:
goto 13
12: StackMap locals:
StackMap stack:
aload 0
ldc "UTF-16"
invokevirtual org.apache.batik.util.io.UTF16Decoder.charError:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/batik/util/io/UTF16Decoder;
0 14 1 is Ljava/io/InputStream;
2 14 2 b1 I
5 14 3 b2 I
8 14 4 m I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
public void <init>(java.io.InputStream, boolean);
descriptor: (Ljava/io/InputStream;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
aload 1
invokespecial org.apache.batik.util.io.AbstractCharDecoder.<init>:(Ljava/io/InputStream;)V
1: aload 0
iload 2
putfield org.apache.batik.util.io.UTF16Decoder.bigEndian:Z
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/util/io/UTF16Decoder;
0 3 1 is Ljava/io/InputStream;
0 3 2 be Z
MethodParameters:
Name Flags
is
be
public int readChar();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.util.io.UTF16Decoder.position:I
aload 0
getfield org.apache.batik.util.io.UTF16Decoder.count:I
if_icmpne 2
1: aload 0
invokevirtual org.apache.batik.util.io.UTF16Decoder.fillBuffer:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.util.io.UTF16Decoder.count:I
iconst_m1
if_icmpne 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.util.io.UTF16Decoder.buffer:[B
aload 0
dup
getfield org.apache.batik.util.io.UTF16Decoder.position:I
dup_x1
iconst_1
iadd
putfield org.apache.batik.util.io.UTF16Decoder.position:I
baload
istore 1
start local 1 5: aload 0
getfield org.apache.batik.util.io.UTF16Decoder.position:I
aload 0
getfield org.apache.batik.util.io.UTF16Decoder.count:I
if_icmpne 7
6: aload 0
invokevirtual org.apache.batik.util.io.UTF16Decoder.fillBuffer:()V
7: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.batik.util.io.UTF16Decoder.count:I
iconst_m1
if_icmpne 9
8: aload 0
ldc "UTF-16"
invokevirtual org.apache.batik.util.io.UTF16Decoder.endOfStreamError:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.util.io.UTF16Decoder.buffer:[B
aload 0
dup
getfield org.apache.batik.util.io.UTF16Decoder.position:I
dup_x1
iconst_1
iadd
putfield org.apache.batik.util.io.UTF16Decoder.position:I
baload
istore 2
start local 2 10: aload 0
getfield org.apache.batik.util.io.UTF16Decoder.bigEndian:Z
ifeq 12
11: iload 1
sipush 255
iand
bipush 8
ishl
iload 2
sipush 255
iand
ior
goto 13
12: StackMap locals: int
StackMap stack:
iload 2
sipush 255
iand
bipush 8
ishl
iload 1
sipush 255
iand
ior
13: StackMap locals:
StackMap stack: int
istore 3
start local 3 14: iload 3
ldc 65534
if_icmpne 16
15: aload 0
ldc "UTF-16"
invokevirtual org.apache.batik.util.io.UTF16Decoder.charError:(Ljava/lang/String;)V
16: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/batik/util/io/UTF16Decoder;
5 17 1 b1 B
10 17 2 b2 B
14 17 3 c I
Exceptions:
throws java.io.IOException
}
SourceFile: "UTF16Decoder.java"