public abstract class sun.io.CharToByteSingleByte extends sun.io.CharToByteConverter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.io.CharToByteSingleByte
super_class: sun.io.CharToByteConverter
{
protected short[] index1;
descriptor: [S
flags: (0x0004) ACC_PROTECTED
protected java.lang.String index2;
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 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/CharToByteSingleByte;
public short[] getIndex1();
descriptor: ()[S
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.io.CharToByteSingleByte.index1:[S
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/CharToByteSingleByte;
public java.lang.String getIndex2();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.io.CharToByteSingleByte.index2:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/CharToByteSingleByte;
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.CharToByteSingleByte.highHalfZoneCode:C
ifeq 4
1: aload 0
iconst_0
putfield sun.io.CharToByteSingleByte.highHalfZoneCode:C
2: aload 0
iconst_0
putfield sun.io.CharToByteSingleByte.badInputLength:I
3: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 0
iconst_0
dup_x1
putfield sun.io.CharToByteSingleByte.charOff:I
putfield sun.io.CharToByteSingleByte.byteOff:I
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/CharToByteSingleByte;
0 6 1 output [B
0 6 2 outStart I
0 6 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 11
start local 11 1: aload 0
iload 2
putfield sun.io.CharToByteSingleByte.charOff:I
2: aload 0
iload 5
putfield sun.io.CharToByteSingleByte.byteOff:I
3: aload 0
getfield sun.io.CharToByteSingleByte.highHalfZoneCode:C
ifeq 50
4: aload 0
getfield sun.io.CharToByteSingleByte.highHalfZoneCode:C
istore 7
start local 7 5: aload 0
iconst_0
putfield sun.io.CharToByteSingleByte.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.CharToByteSingleByte.badInputLength:I
8: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
9: StackMap locals: sun.io.CharToByteSingleByte char[] int int byte[] int int int top top top byte[]
StackMap stack:
aload 0
iconst_0
putfield sun.io.CharToByteSingleByte.badInputLength:I
10: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
end local 7 11: StackMap locals: sun.io.CharToByteSingleByte char[] int int byte[] int int top top top top byte[]
StackMap stack:
aload 11
astore 8
start local 8 12: aload 1
aload 0
getfield sun.io.CharToByteSingleByte.charOff:I
caload
istore 7
start local 7 13: iconst_1
istore 10
start local 10 14: iconst_1
istore 9
start local 9 15: iload 7
ldc 55296
if_icmplt 30
iload 7
ldc 56319
if_icmpgt 30
16: aload 0
getfield sun.io.CharToByteSingleByte.charOff:I
iconst_1
iadd
iload 3
if_icmplt 19
17: aload 0
iload 7
putfield sun.io.CharToByteSingleByte.highHalfZoneCode:C
18: goto 51
19: StackMap locals: sun.io.CharToByteSingleByte char[] int int byte[] int int int byte[] int int byte[]
StackMap stack:
aload 1
aload 0
getfield sun.io.CharToByteSingleByte.charOff:I
iconst_1
iadd
caload
istore 7
20: iload 7
ldc 56320
if_icmplt 28
iload 7
ldc 57343
if_icmpgt 28
21: aload 0
getfield sun.io.CharToByteSingleByte.subMode:Z
ifeq 26
22: aload 0
getfield sun.io.CharToByteSingleByte.subBytes:[B
astore 8
23: aload 0
getfield sun.io.CharToByteSingleByte.subBytes:[B
arraylength
istore 10
24: iconst_2
istore 9
25: goto 42
26: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield sun.io.CharToByteSingleByte.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.CharToByteSingleByte.badInputLength:I
29: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
30: StackMap locals:
StackMap stack:
iload 7
ldc 56320
if_icmplt 33
iload 7
ldc 57343
if_icmpgt 33
31: aload 0
iconst_1
putfield sun.io.CharToByteSingleByte.badInputLength:I
32: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
33: StackMap locals:
StackMap stack:
aload 8
iconst_0
aload 0
iload 7
invokevirtual sun.io.CharToByteSingleByte.getNative:(C)B
bastore
34: aload 8
iconst_0
baload
ifne 42
35: aload 1
aload 0
getfield sun.io.CharToByteSingleByte.charOff:I
caload
ifeq 42
36: aload 0
getfield sun.io.CharToByteSingleByte.subMode:Z
ifeq 40
37: aload 0
getfield sun.io.CharToByteSingleByte.subBytes:[B
astore 8
38: aload 0
getfield sun.io.CharToByteSingleByte.subBytes:[B
arraylength
istore 10
39: goto 42
40: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.CharToByteSingleByte.badInputLength:I
41: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
42: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteSingleByte.byteOff:I
iload 10
iadd
iload 6
if_icmple 44
43: new sun.io.ConversionBufferFullException
dup
invokespecial sun.io.ConversionBufferFullException.<init>:()V
athrow
44: StackMap locals:
StackMap stack:
iconst_0
istore 12
start local 12 45: goto 48
46: StackMap locals: int
StackMap stack:
aload 4
aload 0
dup
getfield sun.io.CharToByteSingleByte.byteOff:I
dup_x1
iconst_1
iadd
putfield sun.io.CharToByteSingleByte.byteOff:I
aload 8
iload 12
baload
bastore
47: iinc 12 1
StackMap locals:
StackMap stack:
48: iload 12
iload 10
if_icmplt 46
end local 12 49: aload 0
dup
getfield sun.io.CharToByteSingleByte.charOff:I
iload 9
iadd
putfield sun.io.CharToByteSingleByte.charOff:I
end local 10 end local 9 end local 8 end local 7 50: StackMap locals: sun.io.CharToByteSingleByte char[] int int byte[] int int top top top top byte[]
StackMap stack:
aload 0
getfield sun.io.CharToByteSingleByte.charOff:I
iload 3
if_icmplt 11
51: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteSingleByte.byteOff:I
iload 5
isub
ireturn
end local 11 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 52 0 this Lsun/io/CharToByteSingleByte;
0 52 1 input [C
0 52 2 inOff I
0 52 3 inEnd I
0 52 4 output [B
0 52 5 outOff I
0 52 6 outEnd I
5 11 7 inputChar C
13 50 7 inputChar C
12 50 8 outputByte [B
15 50 9 inputSize I
14 50 10 outputSize I
1 52 11 tmpArray [B
45 49 12 i I
Exceptions:
throws sun.io.MalformedInputException, sun.io.UnknownCharacterException, sun.io.ConversionBufferFullException
MethodParameters:
Name Flags
input
inOff
inEnd
output
outOff
outEnd
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/CharToByteSingleByte;
public byte getNative(char);
descriptor: (C)B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.io.CharToByteSingleByte.index2:Ljava/lang/String;
aload 0
getfield sun.io.CharToByteSingleByte.index1:[S
iload 1
aload 0
getfield sun.io.CharToByteSingleByte.mask1:I
iand
aload 0
getfield sun.io.CharToByteSingleByte.shift:I
ishr
saload
1: iload 1
aload 0
getfield sun.io.CharToByteSingleByte.mask2:I
iand
iadd
2: invokevirtual java.lang.String.charAt:(I)C
i2b
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/io/CharToByteSingleByte;
0 3 1 inputChar C
MethodParameters:
Name Flags
inputChar
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.CharToByteSingleByte.charOff:I
putfield sun.io.CharToByteSingleByte.byteOff:I
1: aload 0
iconst_0
putfield sun.io.CharToByteSingleByte.highHalfZoneCode:C
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/io/CharToByteSingleByte;
public boolean canConvert(char);
descriptor: (C)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.io.CharToByteSingleByte.index2:Ljava/lang/String;
aload 0
getfield sun.io.CharToByteSingleByte.index1:[S
iload 1
aload 0
getfield sun.io.CharToByteSingleByte.mask1:I
iand
aload 0
getfield sun.io.CharToByteSingleByte.shift:I
ishr
saload
iload 1
aload 0
getfield sun.io.CharToByteSingleByte.mask2:I
iand
iadd
invokevirtual java.lang.String.charAt:(I)C
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iload 1
ifne 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/io/CharToByteSingleByte;
0 4 1 ch C
MethodParameters:
Name Flags
ch
}
SourceFile: "CharToByteSingleByte.java"