public abstract class sun.io.ByteToCharEUC2 extends sun.io.ByteToCharConverter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.io.ByteToCharEUC2
super_class: sun.io.ByteToCharConverter
{
private final int G0;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
ConstantValue: 0
private final int G1;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
ConstantValue: 1
private final int SS2;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
ConstantValue: 142
private final int SS3;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
ConstantValue: 143
private int firstByte;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int state;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private sun.nio.cs.ext.DoubleByte$Decoder dec;
descriptor: Lsun/nio/cs/ext/DoubleByte$Decoder;
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.nio.cs.ext.DoubleByte$Decoder);
descriptor: (Lsun/nio/cs/ext/DoubleByte$Decoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.io.ByteToCharConverter.<init>:()V
1: aload 0
iconst_0
putfield sun.io.ByteToCharEUC2.G0:I
2: aload 0
iconst_1
putfield sun.io.ByteToCharEUC2.G1:I
3: aload 0
sipush 142
putfield sun.io.ByteToCharEUC2.SS2:I
4: aload 0
sipush 143
putfield sun.io.ByteToCharEUC2.SS3:I
5: aload 0
iconst_0
putfield sun.io.ByteToCharEUC2.state:I
6: aload 0
aload 1
putfield sun.io.ByteToCharEUC2.dec:Lsun/nio/cs/ext/DoubleByte$Decoder;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/io/ByteToCharEUC2;
0 8 1 dec Lsun/nio/cs/ext/DoubleByte$Decoder;
MethodParameters:
Name Flags
dec
char decodeSingle(int);
descriptor: (I)C
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.io.ByteToCharEUC2.dec:Lsun/nio/cs/ext/DoubleByte$Decoder;
iload 1
invokevirtual sun.nio.cs.ext.DoubleByte$Decoder.decodeSingle:(I)C
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/ByteToCharEUC2;
0 1 1 b I
MethodParameters:
Name Flags
b
char decodeDouble(int, int);
descriptor: (II)C
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.io.ByteToCharEUC2.dec:Lsun/nio/cs/ext/DoubleByte$Decoder;
iload 1
iload 2
invokevirtual sun.nio.cs.ext.DoubleByte$Decoder.decodeDouble:(II)C
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/ByteToCharEUC2;
0 1 1 b1 I
0 1 2 b2 I
MethodParameters:
Name Flags
b1
b2
public int flush(char[], int, int);
descriptor: ([CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.io.ByteToCharEUC2.state:I
ifeq 4
1: aload 0
invokevirtual sun.io.ByteToCharEUC2.reset:()V
2: aload 0
iconst_0
putfield sun.io.ByteToCharEUC2.badInputLength:I
3: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.io.ByteToCharEUC2.reset:()V
5: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/io/ByteToCharEUC2;
0 6 1 output [C
0 6 2 outStart I
0 6 3 outEnd I
Exceptions:
throws sun.io.MalformedInputException
MethodParameters:
Name Flags
output
outStart
outEnd
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.io.ByteToCharEUC2.state:I
1: aload 0
aload 0
iconst_0
dup_x1
putfield sun.io.ByteToCharEUC2.byteOff:I
putfield sun.io.ByteToCharEUC2.charOff:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/io/ByteToCharEUC2;
public int convert(byte[], int, int, char[], int, int);
descriptor: ([BII[CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: ldc 65533
istore 8
start local 8 1: aload 0
iload 2
putfield sun.io.ByteToCharEUC2.byteOff:I
2: aload 0
iload 5
putfield sun.io.ByteToCharEUC2.charOff:I
3: goto 33
4: StackMap locals: sun.io.ByteToCharEUC2 byte[] int int char[] int int top int
StackMap stack:
aload 1
aload 0
getfield sun.io.ByteToCharEUC2.byteOff:I
baload
sipush 255
iand
istore 7
start local 7 5: aload 0
getfield sun.io.ByteToCharEUC2.state:I
tableswitch { // 0 - 1
0: 6
1: 18
default: 23
}
6: StackMap locals: sun.io.ByteToCharEUC2 byte[] int int char[] int int int int
StackMap stack:
iload 7
sipush 142
if_icmpeq 8
7: iload 7
sipush 143
if_icmpne 10
8: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.ByteToCharEUC2.badInputLength:I
9: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
iload 7
sipush 159
if_icmpgt 12
11: aload 0
iload 7
invokevirtual sun.io.ByteToCharEUC2.decodeSingle:(I)C
istore 8
goto 23
12: StackMap locals:
StackMap stack:
iload 7
sipush 161
if_icmplt 13
iload 7
sipush 254
if_icmple 15
13: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.ByteToCharEUC2.badInputLength:I
14: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
15: StackMap locals:
StackMap stack:
aload 0
iload 7
putfield sun.io.ByteToCharEUC2.firstByte:I
16: aload 0
iconst_1
putfield sun.io.ByteToCharEUC2.state:I
17: goto 23
18: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.io.ByteToCharEUC2.state:I
19: iload 7
sipush 161
if_icmplt 20
iload 7
sipush 254
if_icmple 22
20: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.ByteToCharEUC2.badInputLength:I
21: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
22: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.io.ByteToCharEUC2.firstByte:I
iload 7
invokevirtual sun.io.ByteToCharEUC2.decodeDouble:(II)C
istore 8
23: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC2.state:I
ifne 32
24: iload 8
ldc 65533
if_icmpne 29
25: aload 0
getfield sun.io.ByteToCharEUC2.subMode:Z
ifeq 27
26: aload 0
getfield sun.io.ByteToCharEUC2.subChars:[C
iconst_0
caload
istore 8
goto 29
27: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.ByteToCharEUC2.badInputLength:I
28: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
29: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC2.charOff:I
iload 6
if_icmplt 31
30: new sun.io.ConversionBufferFullException
dup
invokespecial sun.io.ConversionBufferFullException.<init>:()V
athrow
31: StackMap locals:
StackMap stack:
aload 4
aload 0
dup
getfield sun.io.ByteToCharEUC2.charOff:I
dup_x1
iconst_1
iadd
putfield sun.io.ByteToCharEUC2.charOff:I
iload 8
castore
32: StackMap locals:
StackMap stack:
aload 0
dup
getfield sun.io.ByteToCharEUC2.byteOff:I
iconst_1
iadd
putfield sun.io.ByteToCharEUC2.byteOff:I
end local 7 33: StackMap locals: sun.io.ByteToCharEUC2 byte[] int int char[] int int top int
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC2.byteOff:I
iload 3
if_icmplt 4
34: aload 0
getfield sun.io.ByteToCharEUC2.charOff:I
iload 5
isub
ireturn
end local 8 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lsun/io/ByteToCharEUC2;
0 35 1 input [B
0 35 2 inOff I
0 35 3 inEnd I
0 35 4 output [C
0 35 5 outOff I
0 35 6 outEnd I
5 33 7 byte1 I
1 35 8 outputChar C
Exceptions:
throws sun.io.UnknownCharacterException, sun.io.MalformedInputException, sun.io.ConversionBufferFullException
MethodParameters:
Name Flags
input
inOff
inEnd
output
outOff
outEnd
}
SourceFile: "ByteToCharEUC2.java"
InnerClasses:
public Decoder = sun.nio.cs.ext.DoubleByte$Decoder of sun.nio.cs.ext.DoubleByte