public abstract class sun.io.CharToByteEUC extends sun.io.CharToByteConverter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.io.CharToByteEUC
super_class: sun.io.CharToByteConverter
{
private char highHalfZoneCode;
descriptor: C
flags: (0x0002) ACC_PRIVATE
private byte[] outputByte;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
protected short[] index1;
descriptor: [S
flags: (0x0004) ACC_PROTECTED
protected java.lang.String index2;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String index2a;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String index2b;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String index2c;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected int mask1;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int mask2;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int shift;
descriptor: I
flags: (0x0004) ACC_PROTECTED
private byte[] workByte;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.io.CharToByteConverter.<init>:()V
1: aload 0
iconst_4
newarray 8
putfield sun.io.CharToByteEUC.workByte:[B
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/io/CharToByteEUC;
public int flush(byte[], int, int);
descriptor: ([BII)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.CharToByteEUC.highHalfZoneCode:C
ifeq 4
1: aload 0
invokevirtual sun.io.CharToByteEUC.reset:()V
2: aload 0
iconst_0
putfield sun.io.CharToByteEUC.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.CharToByteEUC.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/CharToByteEUC;
0 6 1 output [B
0 6 2 outStart I
0 6 3 outEnd I
Exceptions:
throws sun.io.MalformedInputException, sun.io.ConversionBufferFullException
MethodParameters:
Name Flags
output
outStart
outEnd
public int convert(char[], int, int, byte[], int, int);
descriptor: ([CII[BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=15, 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: aload 0
iload 5
putfield sun.io.CharToByteEUC.byteOff:I
1: aload 0
iload 2
putfield sun.io.CharToByteEUC.charOff:I
2: goto 77
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.io.CharToByteEUC.workByte:[B
putfield sun.io.CharToByteEUC.outputByte:[B
4: iconst_1
istore 11
start local 11 5: aload 0
getfield sun.io.CharToByteEUC.highHalfZoneCode:C
ifne 9
6: aload 1
aload 0
getfield sun.io.CharToByteEUC.charOff:I
caload
istore 7
start local 7 7: iconst_1
istore 8
start local 8 8: goto 12
end local 8 end local 7 9: StackMap locals: sun.io.CharToByteEUC char[] int int byte[] int int top top top top int
StackMap stack:
aload 0
getfield sun.io.CharToByteEUC.highHalfZoneCode:C
istore 7
start local 7 10: iconst_0
istore 8
start local 8 11: aload 0
iconst_0
putfield sun.io.CharToByteEUC.highHalfZoneCode:C
12: StackMap locals: sun.io.CharToByteEUC char[] int int byte[] int int int int top top int
StackMap stack:
iload 7
ldc 55296
if_icmplt 27
iload 7
ldc 56319
if_icmpgt 27
13: aload 0
getfield sun.io.CharToByteEUC.charOff:I
iload 8
iadd
iload 3
if_icmplt 17
14: aload 0
iload 7
putfield sun.io.CharToByteEUC.highHalfZoneCode:C
15: aload 0
dup
getfield sun.io.CharToByteEUC.charOff:I
iload 8
iadd
putfield sun.io.CharToByteEUC.charOff:I
16: goto 78
17: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.io.CharToByteEUC.charOff:I
iload 8
iadd
caload
istore 7
18: iload 7
ldc 56320
if_icmplt 25
iload 7
ldc 57343
if_icmpgt 25
19: aload 0
getfield sun.io.CharToByteEUC.subMode:Z
ifeq 23
20: aload 0
aload 0
getfield sun.io.CharToByteEUC.subBytes:[B
putfield sun.io.CharToByteEUC.outputByte:[B
21: iinc 8 1
22: goto 50
23: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield sun.io.CharToByteEUC.badInputLength:I
24: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
25: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.CharToByteEUC.badInputLength:I
26: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
27: StackMap locals:
StackMap stack:
iload 7
ldc 56320
if_icmplt 30
iload 7
ldc 57343
if_icmpgt 30
28: aload 0
iconst_1
putfield sun.io.CharToByteEUC.badInputLength:I
29: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
30: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteEUC.index1:[S
iload 7
aload 0
getfield sun.io.CharToByteEUC.mask1:I
iand
aload 0
getfield sun.io.CharToByteEUC.shift:I
ishr
saload
iload 7
aload 0
getfield sun.io.CharToByteEUC.mask2:I
iand
iadd
istore 9
start local 9 31: iload 9
sipush 7500
if_icmpge 34
32: aload 0
getfield sun.io.CharToByteEUC.index2:Ljava/lang/String;
astore 13
start local 13 33: goto 44
end local 13 34: StackMap locals: sun.io.CharToByteEUC char[] int int byte[] int int int int int top int
StackMap stack:
iload 9
sipush 15000
if_icmpge 38
35: iinc 9 -7500
36: aload 0
getfield sun.io.CharToByteEUC.index2a:Ljava/lang/String;
astore 13
start local 13 37: goto 44
end local 13 38: StackMap locals:
StackMap stack:
iload 9
sipush 22500
if_icmpge 42
39: iinc 9 -15000
40: aload 0
getfield sun.io.CharToByteEUC.index2b:Ljava/lang/String;
astore 13
start local 13 41: goto 44
end local 13 42: StackMap locals:
StackMap stack:
iinc 9 -22500
43: aload 0
getfield sun.io.CharToByteEUC.index2c:Ljava/lang/String;
astore 13
start local 13 44: StackMap locals: sun.io.CharToByteEUC char[] int int byte[] int int int int int top int top java.lang.String
StackMap stack:
aload 13
iconst_2
iload 9
imul
invokevirtual java.lang.String.charAt:(I)C
istore 14
start local 14 45: aload 0
getfield sun.io.CharToByteEUC.outputByte:[B
iconst_0
iload 14
ldc 65280
iand
bipush 8
ishr
i2b
bastore
46: aload 0
getfield sun.io.CharToByteEUC.outputByte:[B
iconst_1
iload 14
sipush 255
iand
i2b
bastore
47: aload 13
iconst_2
iload 9
imul
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 14
48: aload 0
getfield sun.io.CharToByteEUC.outputByte:[B
iconst_2
iload 14
ldc 65280
iand
bipush 8
ishr
i2b
bastore
49: aload 0
getfield sun.io.CharToByteEUC.outputByte:[B
iconst_3
iload 14
sipush 255
iand
i2b
bastore
end local 14 end local 13 end local 9 50: StackMap locals: sun.io.CharToByteEUC char[] int int byte[] int int int int top top int
StackMap stack:
iconst_0
istore 12
start local 12 51: goto 56
52: StackMap locals: int
StackMap stack:
aload 0
getfield sun.io.CharToByteEUC.outputByte:[B
iload 12
baload
ifeq 55
53: iconst_0
istore 11
54: goto 57
55: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
56: iload 12
aload 0
getfield sun.io.CharToByteEUC.outputByte:[B
arraylength
if_icmplt 52
57: StackMap locals:
StackMap stack:
iload 11
ifeq 63
iload 7
ifeq 63
58: aload 0
getfield sun.io.CharToByteEUC.subMode:Z
ifeq 61
59: aload 0
aload 0
getfield sun.io.CharToByteEUC.subBytes:[B
putfield sun.io.CharToByteEUC.outputByte:[B
60: goto 63
61: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.CharToByteEUC.badInputLength:I
62: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
63: StackMap locals:
StackMap stack:
iconst_0
istore 13
start local 13 64: aload 0
getfield sun.io.CharToByteEUC.outputByte:[B
arraylength
istore 10
start local 10 65: goto 69
66: StackMap locals: sun.io.CharToByteEUC char[] int int byte[] int int int int top int int int int
StackMap stack:
aload 0
getfield sun.io.CharToByteEUC.outputByte:[B
iload 13
iinc 13 1
baload
ifeq 68
67: goto 70
68: StackMap locals:
StackMap stack:
iinc 10 -1
StackMap locals:
StackMap stack:
69: iload 10
iconst_1
if_icmpgt 66
70: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteEUC.byteOff:I
iload 10
iadd
iload 6
if_icmple 72
71: new sun.io.ConversionBufferFullException
dup
invokespecial sun.io.ConversionBufferFullException.<init>:()V
athrow
72: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteEUC.outputByte:[B
arraylength
iload 10
isub
istore 12
goto 75
73: StackMap locals:
StackMap stack:
aload 4
aload 0
dup
getfield sun.io.CharToByteEUC.byteOff:I
dup_x1
iconst_1
iadd
putfield sun.io.CharToByteEUC.byteOff:I
aload 0
getfield sun.io.CharToByteEUC.outputByte:[B
iload 12
baload
bastore
74: iinc 12 1
StackMap locals:
StackMap stack:
75: iload 12
aload 0
getfield sun.io.CharToByteEUC.outputByte:[B
arraylength
if_icmplt 73
76: aload 0
dup
getfield sun.io.CharToByteEUC.charOff:I
iload 8
iadd
putfield sun.io.CharToByteEUC.charOff:I
end local 13 end local 12 end local 11 end local 10 end local 8 end local 7 77: StackMap locals: sun.io.CharToByteEUC char[] int int byte[] int int
StackMap stack:
aload 0
getfield sun.io.CharToByteEUC.charOff:I
iload 3
if_icmplt 3
78: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteEUC.byteOff:I
iload 5
isub
ireturn
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 79 0 this Lsun/io/CharToByteEUC;
0 79 1 input [C
0 79 2 inOff I
0 79 3 inEnd I
0 79 4 output [B
0 79 5 outOff I
0 79 6 outEnd I
7 9 7 inputChar C
10 77 7 inputChar C
8 9 8 inputSize I
11 77 8 inputSize I
31 50 9 index I
65 77 10 spaceNeeded I
5 77 11 allZeroes Z
51 77 12 i I
33 34 13 theChars Ljava/lang/String;
37 38 13 theChars Ljava/lang/String;
41 42 13 theChars Ljava/lang/String;
44 50 13 theChars Ljava/lang/String;
45 50 14 aChar C
64 77 13 oindex I
Exceptions:
throws sun.io.UnknownCharacterException, sun.io.MalformedInputException, sun.io.ConversionBufferFullException
MethodParameters:
Name Flags
input
inOff
inEnd
output
outOff
outEnd
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
iconst_0
dup_x1
putfield sun.io.CharToByteEUC.byteOff:I
putfield sun.io.CharToByteEUC.charOff:I
1: aload 0
iconst_0
putfield sun.io.CharToByteEUC.highHalfZoneCode:C
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/io/CharToByteEUC;
public int getMaxBytesPerChar();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_2
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/CharToByteEUC;
public boolean canConvert(char);
descriptor: (C)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.io.CharToByteEUC.index1:[S
iload 1
aload 0
getfield sun.io.CharToByteEUC.mask1:I
iand
aload 0
getfield sun.io.CharToByteEUC.shift:I
ishr
saload
iload 1
aload 0
getfield sun.io.CharToByteEUC.mask2:I
iand
iadd
istore 2
start local 2 1: iload 2
sipush 7500
if_icmpge 4
2: aload 0
getfield sun.io.CharToByteEUC.index2:Ljava/lang/String;
astore 3
start local 3 3: goto 14
end local 3 4: StackMap locals: int
StackMap stack:
iload 2
sipush 15000
if_icmpge 8
5: iinc 2 -7500
6: aload 0
getfield sun.io.CharToByteEUC.index2a:Ljava/lang/String;
astore 3
start local 3 7: goto 14
end local 3 8: StackMap locals:
StackMap stack:
iload 2
sipush 22500
if_icmpge 12
9: iinc 2 -15000
10: aload 0
getfield sun.io.CharToByteEUC.index2b:Ljava/lang/String;
astore 3
start local 3 11: goto 14
end local 3 12: StackMap locals:
StackMap stack:
iinc 2 -22500
13: aload 0
getfield sun.io.CharToByteEUC.index2c:Ljava/lang/String;
astore 3
start local 3 14: StackMap locals: java.lang.String
StackMap stack:
aload 3
iconst_2
iload 2
imul
invokevirtual java.lang.String.charAt:(I)C
ifne 16
15: aload 3
iconst_2
iload 2
imul
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
ifeq 17
16: StackMap locals:
StackMap stack:
iconst_1
ireturn
17: StackMap locals:
StackMap stack:
iload 1
ifne 18
iconst_1
ireturn
StackMap locals:
StackMap stack:
18: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/io/CharToByteEUC;
0 19 1 ch C
1 19 2 index I
3 4 3 theChars Ljava/lang/String;
7 8 3 theChars Ljava/lang/String;
11 12 3 theChars Ljava/lang/String;
14 19 3 theChars Ljava/lang/String;
MethodParameters:
Name Flags
ch
}
SourceFile: "CharToByteEUC.java"