public class sun.io.CharToByteASCII extends sun.io.CharToByteConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.io.CharToByteASCII
super_class: sun.io.CharToByteConverter
{
private char highHalfZoneCode;
descriptor: C
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.io.CharToByteConverter.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/CharToByteASCII;
public java.lang.String getCharacterEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "ASCII"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/CharToByteASCII;
public int flush(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.io.CharToByteASCII.highHalfZoneCode:C
ifeq 5
1: aload 0
iconst_0
putfield sun.io.CharToByteASCII.highHalfZoneCode:C
2: new sun.io.MalformedInputException
dup
3: ldc "String ends with <High Half Zone code> of UTF16"
4: invokespecial sun.io.MalformedInputException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 0
iconst_0
dup_x1
putfield sun.io.CharToByteASCII.charOff:I
putfield sun.io.CharToByteASCII.byteOff:I
6: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/io/CharToByteASCII;
0 7 1 output [B
0 7 2 outStart I
0 7 3 outEnd I
Exceptions:
throws sun.io.MalformedInputException
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=13, 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: iconst_1
newarray 8
astore 9
start local 9 1: aload 0
iload 2
putfield sun.io.CharToByteASCII.charOff:I
2: aload 0
iload 5
putfield sun.io.CharToByteASCII.byteOff:I
3: aload 0
getfield sun.io.CharToByteASCII.highHalfZoneCode:C
ifeq 52
4: aload 0
getfield sun.io.CharToByteASCII.highHalfZoneCode:C
istore 7
start local 7 5: aload 0
iconst_0
putfield sun.io.CharToByteASCII.highHalfZoneCode:C
6: aload 1
iload 2
caload
ldc 56320
if_icmplt 9
aload 1
iload 2
caload
ldc 57343
if_icmpgt 9
7: aload 0
iconst_1
putfield sun.io.CharToByteASCII.badInputLength:I
8: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
9: StackMap locals: sun.io.CharToByteASCII char[] int int byte[] int int int top byte[]
StackMap stack:
aload 0
iconst_0
putfield sun.io.CharToByteASCII.badInputLength:I
10: new sun.io.MalformedInputException
dup
11: ldc "Previous converted string ends with <High Half Zone Code> of UTF16 , but this string is not begin with <Low Half Zone>"
12: invokespecial sun.io.MalformedInputException.<init>:(Ljava/lang/String;)V
athrow
end local 7 13: StackMap locals: sun.io.CharToByteASCII char[] int int byte[] int int top top byte[]
StackMap stack:
aload 9
astore 8
start local 8 14: aload 1
aload 0
getfield sun.io.CharToByteASCII.charOff:I
caload
istore 7
start local 7 15: iconst_1
istore 11
start local 11 16: iconst_1
istore 10
start local 10 17: iload 7
ldc 55296
if_icmplt 32
iload 7
ldc 56319
if_icmpgt 32
18: aload 0
getfield sun.io.CharToByteASCII.charOff:I
iconst_1
iadd
iload 3
if_icmpne 21
19: aload 0
iload 7
putfield sun.io.CharToByteASCII.highHalfZoneCode:C
20: goto 53
21: StackMap locals: sun.io.CharToByteASCII char[] int int byte[] int int int byte[] byte[] int int
StackMap stack:
aload 1
aload 0
getfield sun.io.CharToByteASCII.charOff:I
iconst_1
iadd
caload
istore 7
22: iload 7
ldc 56320
if_icmplt 30
iload 7
ldc 57343
if_icmpgt 30
23: aload 0
getfield sun.io.CharToByteASCII.subMode:Z
ifeq 28
24: aload 0
getfield sun.io.CharToByteASCII.subBytes:[B
astore 8
25: aload 0
getfield sun.io.CharToByteASCII.subBytes:[B
arraylength
istore 11
26: iconst_2
istore 10
27: goto 44
28: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield sun.io.CharToByteASCII.badInputLength:I
29: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
30: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.CharToByteASCII.badInputLength:I
31: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
32: StackMap locals:
StackMap stack:
iload 7
ldc 56320
if_icmplt 35
iload 7
ldc 57343
if_icmpgt 35
33: aload 0
iconst_1
putfield sun.io.CharToByteASCII.badInputLength:I
34: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
35: StackMap locals:
StackMap stack:
iload 7
bipush 127
if_icmpgt 38
36: aload 8
iconst_0
iload 7
i2b
bastore
37: goto 44
38: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteASCII.subMode:Z
ifeq 42
39: aload 0
getfield sun.io.CharToByteASCII.subBytes:[B
astore 8
40: aload 0
getfield sun.io.CharToByteASCII.subBytes:[B
arraylength
istore 11
41: goto 44
42: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.CharToByteASCII.badInputLength:I
43: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
44: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteASCII.byteOff:I
iload 11
iadd
iload 6
if_icmple 46
45: new sun.io.ConversionBufferFullException
dup
invokespecial sun.io.ConversionBufferFullException.<init>:()V
athrow
46: StackMap locals:
StackMap stack:
iconst_0
istore 12
start local 12 47: goto 50
48: StackMap locals: int
StackMap stack:
aload 4
aload 0
dup
getfield sun.io.CharToByteASCII.byteOff:I
dup_x1
iconst_1
iadd
putfield sun.io.CharToByteASCII.byteOff:I
aload 8
iload 12
baload
bastore
49: iinc 12 1
StackMap locals:
StackMap stack:
50: iload 12
iload 11
if_icmplt 48
end local 12 51: aload 0
dup
getfield sun.io.CharToByteASCII.charOff:I
iload 10
iadd
putfield sun.io.CharToByteASCII.charOff:I
end local 11 end local 10 end local 8 end local 7 52: StackMap locals: sun.io.CharToByteASCII char[] int int byte[] int int top top byte[]
StackMap stack:
aload 0
getfield sun.io.CharToByteASCII.charOff:I
iload 3
if_icmplt 13
53: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteASCII.byteOff:I
iload 5
isub
ireturn
end local 9 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 54 0 this Lsun/io/CharToByteASCII;
0 54 1 input [C
0 54 2 inOff I
0 54 3 inEnd I
0 54 4 output [B
0 54 5 outOff I
0 54 6 outEnd I
5 13 7 inputChar C
15 52 7 inputChar C
14 52 8 outputByte [B
1 54 9 tmpArray [B
17 52 10 inputSize I
16 52 11 outputSize I
47 51 12 i I
Exceptions:
throws sun.io.MalformedInputException, sun.io.UnknownCharacterException, sun.io.ConversionBufferFullException
MethodParameters:
Name Flags
input
inOff
inEnd
output
outOff
outEnd
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: iload 1
bipush 127
if_icmpgt 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/CharToByteASCII;
0 2 1 ch C
MethodParameters:
Name Flags
ch
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.CharToByteASCII.charOff:I
putfield sun.io.CharToByteASCII.byteOff:I
1: aload 0
iconst_0
putfield sun.io.CharToByteASCII.highHalfZoneCode:C
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/io/CharToByteASCII;
public int getMaxBytesPerChar();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/CharToByteASCII;
}
SourceFile: "CharToByteASCII.java"