public abstract class sun.io.CharToByteDBCS_ASCII extends sun.io.CharToByteConverter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.io.CharToByteDBCS_ASCII
super_class: sun.io.CharToByteConverter
{
private char highHalfZoneCode;
descriptor: C
flags: (0x0002) ACC_PRIVATE
private byte[] outputByte;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private sun.nio.cs.ext.DoubleByte$Encoder enc;
descriptor: Lsun/nio/cs/ext/DoubleByte$Encoder;
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.nio.cs.ext.DoubleByte$Encoder);
descriptor: (Lsun/nio/cs/ext/DoubleByte$Encoder;)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.CharToByteConverter.<init>:()V
1: aload 0
iconst_2
newarray 8
putfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
2: aload 0
aload 1
putfield sun.io.CharToByteDBCS_ASCII.enc:Lsun/nio/cs/ext/DoubleByte$Encoder;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/io/CharToByteDBCS_ASCII;
0 4 1 enc Lsun/nio/cs/ext/DoubleByte$Encoder;
MethodParameters:
Name Flags
enc
int encodeChar(char);
descriptor: (C)I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.io.CharToByteDBCS_ASCII.enc:Lsun/nio/cs/ext/DoubleByte$Encoder;
iload 1
invokevirtual sun.nio.cs.ext.DoubleByte$Encoder.encodeChar:(C)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/CharToByteDBCS_ASCII;
0 1 1 c C
MethodParameters:
Name Flags
c
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.CharToByteDBCS_ASCII.highHalfZoneCode:C
ifeq 4
1: aload 0
invokevirtual sun.io.CharToByteDBCS_ASCII.reset:()V
2: aload 0
iconst_0
putfield sun.io.CharToByteDBCS_ASCII.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.CharToByteDBCS_ASCII.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/CharToByteDBCS_ASCII;
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=11, 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.CharToByteDBCS_ASCII.byteOff:I
1: aload 0
iload 2
putfield sun.io.CharToByteDBCS_ASCII.charOff:I
2: goto 58
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.highHalfZoneCode:C
ifne 7
4: aload 1
aload 0
getfield sun.io.CharToByteDBCS_ASCII.charOff:I
caload
istore 7
start local 7 5: iconst_1
istore 8
start local 8 6: goto 10
end local 8 end local 7 7: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.highHalfZoneCode:C
istore 7
start local 7 8: iconst_0
istore 8
start local 8 9: aload 0
iconst_0
putfield sun.io.CharToByteDBCS_ASCII.highHalfZoneCode:C
10: StackMap locals: int int
StackMap stack:
iload 7
invokestatic java.lang.Character.isHighSurrogate:(C)Z
ifeq 30
11: aload 0
getfield sun.io.CharToByteDBCS_ASCII.charOff:I
iload 8
iadd
iload 3
if_icmplt 15
12: aload 0
iload 7
putfield sun.io.CharToByteDBCS_ASCII.highHalfZoneCode:C
13: aload 0
dup
getfield sun.io.CharToByteDBCS_ASCII.charOff:I
iload 8
iadd
putfield sun.io.CharToByteDBCS_ASCII.charOff:I
14: goto 59
15: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.io.CharToByteDBCS_ASCII.charOff:I
iload 8
iadd
caload
istore 7
16: iload 7
invokestatic java.lang.Character.isLowSurrogate:(C)Z
ifeq 28
17: aload 0
getfield sun.io.CharToByteDBCS_ASCII.subMode:Z
ifeq 26
18: aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
arraylength
iconst_1
if_icmpne 22
19: aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_0
iconst_0
bastore
20: aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_1
aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
iconst_0
baload
bastore
21: goto 24
22: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_0
aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
iconst_0
baload
bastore
23: aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_1
aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
iconst_1
baload
bastore
24: StackMap locals:
StackMap stack:
iinc 8 1
25: goto 47
26: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield sun.io.CharToByteDBCS_ASCII.badInputLength:I
27: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
28: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.CharToByteDBCS_ASCII.badInputLength:I
29: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
30: StackMap locals:
StackMap stack:
iload 7
invokestatic java.lang.Character.isLowSurrogate:(C)Z
ifeq 33
31: aload 0
iconst_1
putfield sun.io.CharToByteDBCS_ASCII.badInputLength:I
32: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
33: StackMap locals:
StackMap stack:
aload 0
iload 7
invokevirtual sun.io.CharToByteDBCS_ASCII.encodeChar:(C)I
istore 9
start local 9 34: iload 9
ldc 65533
if_icmpne 45
35: aload 0
getfield sun.io.CharToByteDBCS_ASCII.subMode:Z
ifeq 43
36: aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
arraylength
iconst_1
if_icmpne 40
37: aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_0
iconst_0
bastore
38: aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_1
aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
iconst_0
baload
bastore
39: goto 47
40: StackMap locals: int
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_0
aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
iconst_0
baload
bastore
41: aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_1
aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
iconst_1
baload
bastore
42: goto 47
43: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.CharToByteDBCS_ASCII.badInputLength:I
44: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
45: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_0
iload 9
bipush 8
ishr
i2b
bastore
46: aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_1
iload 9
i2b
bastore
end local 9 47: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_0
baload
ifne 50
48: iconst_1
istore 10
start local 10 49: goto 51
end local 10 50: StackMap locals:
StackMap stack:
iconst_2
istore 10
start local 10 51: StackMap locals: sun.io.CharToByteDBCS_ASCII char[] int int byte[] int int int int top int
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.byteOff:I
iload 10
iadd
iload 6
if_icmple 53
52: new sun.io.ConversionBufferFullException
dup
invokespecial sun.io.ConversionBufferFullException.<init>:()V
athrow
53: StackMap locals:
StackMap stack:
iload 10
iconst_1
if_icmpne 55
54: aload 4
aload 0
dup
getfield sun.io.CharToByteDBCS_ASCII.byteOff:I
dup_x1
iconst_1
iadd
putfield sun.io.CharToByteDBCS_ASCII.byteOff:I
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_1
baload
bastore
goto 57
55: StackMap locals:
StackMap stack:
aload 4
aload 0
dup
getfield sun.io.CharToByteDBCS_ASCII.byteOff:I
dup_x1
iconst_1
iadd
putfield sun.io.CharToByteDBCS_ASCII.byteOff:I
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_0
baload
bastore
56: aload 4
aload 0
dup
getfield sun.io.CharToByteDBCS_ASCII.byteOff:I
dup_x1
iconst_1
iadd
putfield sun.io.CharToByteDBCS_ASCII.byteOff:I
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_1
baload
bastore
57: StackMap locals:
StackMap stack:
aload 0
dup
getfield sun.io.CharToByteDBCS_ASCII.charOff:I
iload 8
iadd
putfield sun.io.CharToByteDBCS_ASCII.charOff:I
end local 10 end local 8 end local 7 58: StackMap locals: sun.io.CharToByteDBCS_ASCII char[] int int byte[] int int
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.charOff:I
iload 3
if_icmplt 3
59: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.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 60 0 this Lsun/io/CharToByteDBCS_ASCII;
0 60 1 input [C
0 60 2 inOff I
0 60 3 inEnd I
0 60 4 output [B
0 60 5 outOff I
0 60 6 outEnd I
5 7 7 inputChar C
8 58 7 inputChar C
6 7 8 inputSize I
9 58 8 inputSize I
34 47 9 theBytes I
49 50 10 spaceNeeded I
51 58 10 spaceNeeded 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.CharToByteDBCS_ASCII.byteOff:I
putfield sun.io.CharToByteDBCS_ASCII.charOff:I
1: aload 0
iconst_0
putfield sun.io.CharToByteDBCS_ASCII.highHalfZoneCode:C
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/io/CharToByteDBCS_ASCII;
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/CharToByteDBCS_ASCII;
public boolean canConvert(char);
descriptor: (C)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual sun.io.CharToByteDBCS_ASCII.encodeChar:(C)I
ldc 65533
if_icmpeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/io/CharToByteDBCS_ASCII;
0 2 1 c C
MethodParameters:
Name Flags
c
}
SourceFile: "CharToByteDBCS_ASCII.java"
InnerClasses:
public Encoder = sun.nio.cs.ext.DoubleByte$Encoder of sun.nio.cs.ext.DoubleByte