public abstract class sun.io.ByteToCharDBCS_ASCII extends sun.io.ByteToCharConverter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.io.ByteToCharDBCS_ASCII
super_class: sun.io.ByteToCharConverter
{
private boolean savedBytePresent;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private byte savedByte;
descriptor: B
flags: (0x0002) ACC_PRIVATE
protected java.lang.String singleByteToChar;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected boolean[] leadByte;
descriptor: [Z
flags: (0x0004) ACC_PROTECTED
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
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.ByteToCharConverter.<init>:()V
1: aload 0
iconst_0
putfield sun.io.ByteToCharDBCS_ASCII.savedBytePresent:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/io/ByteToCharDBCS_ASCII;
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.ByteToCharDBCS_ASCII.savedBytePresent:Z
ifeq 4
1: aload 0
invokevirtual sun.io.ByteToCharDBCS_ASCII.reset:()V
2: aload 0
iconst_0
putfield sun.io.ByteToCharDBCS_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.ByteToCharDBCS_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/ByteToCharDBCS_ASCII;
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 int convert(byte[], int, int, char[], int, int);
descriptor: ([BII[CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=12, 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 5
putfield sun.io.ByteToCharDBCS_ASCII.charOff:I
2: aload 0
iload 2
putfield sun.io.ByteToCharDBCS_ASCII.byteOff:I
3: goto 36
4: StackMap locals: sun.io.ByteToCharDBCS_ASCII byte[] int int char[] int int top int
StackMap stack:
aload 0
getfield sun.io.ByteToCharDBCS_ASCII.savedBytePresent:Z
ifne 8
5: aload 1
aload 0
getfield sun.io.ByteToCharDBCS_ASCII.byteOff:I
baload
istore 9
start local 9 6: iconst_1
istore 7
start local 7 7: goto 11
end local 9 end local 7 8: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharDBCS_ASCII.savedByte:B
istore 9
start local 9 9: aload 0
iconst_0
putfield sun.io.ByteToCharDBCS_ASCII.savedBytePresent:Z
10: iconst_0
istore 7
start local 7 11: StackMap locals: sun.io.ByteToCharDBCS_ASCII byte[] int int char[] int int int int int
StackMap stack:
iload 9
ifge 13
12: iinc 9 256
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharDBCS_ASCII.leadByte:[Z
iload 9
baload
ifne 16
14: aload 0
getfield sun.io.ByteToCharDBCS_ASCII.singleByteToChar:Ljava/lang/String;
iload 9
invokevirtual java.lang.String.charAt:(I)C
istore 8
15: goto 27
16: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharDBCS_ASCII.byteOff:I
iload 7
iadd
iload 3
if_icmplt 21
17: aload 0
iload 9
i2b
putfield sun.io.ByteToCharDBCS_ASCII.savedByte:B
18: aload 0
iconst_1
putfield sun.io.ByteToCharDBCS_ASCII.savedBytePresent:Z
19: aload 0
dup
getfield sun.io.ByteToCharDBCS_ASCII.byteOff:I
iload 7
iadd
putfield sun.io.ByteToCharDBCS_ASCII.byteOff:I
20: goto 37
21: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.io.ByteToCharDBCS_ASCII.byteOff:I
iload 7
iadd
baload
istore 10
start local 10 22: iload 10
ifge 24
23: iinc 10 256
24: StackMap locals: int
StackMap stack:
iinc 7 1
25: iload 9
sipush 256
imul
iload 10
iadd
istore 11
start local 11 26: aload 0
getfield sun.io.ByteToCharDBCS_ASCII.index2:Ljava/lang/String;
aload 0
getfield sun.io.ByteToCharDBCS_ASCII.index1:[S
iload 11
aload 0
getfield sun.io.ByteToCharDBCS_ASCII.mask1:I
iand
aload 0
getfield sun.io.ByteToCharDBCS_ASCII.shift:I
ishr
saload
iload 11
aload 0
getfield sun.io.ByteToCharDBCS_ASCII.mask2:I
iand
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 8
end local 11 end local 10 27: StackMap locals:
StackMap stack:
iload 8
ldc 65533
if_icmpne 32
28: aload 0
getfield sun.io.ByteToCharDBCS_ASCII.subMode:Z
ifeq 30
29: aload 0
getfield sun.io.ByteToCharDBCS_ASCII.subChars:[C
iconst_0
caload
istore 8
goto 32
30: StackMap locals:
StackMap stack:
aload 0
iload 7
putfield sun.io.ByteToCharDBCS_ASCII.badInputLength:I
31: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
32: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharDBCS_ASCII.charOff:I
iload 6
if_icmplt 34
33: new sun.io.ConversionBufferFullException
dup
invokespecial sun.io.ConversionBufferFullException.<init>:()V
athrow
34: StackMap locals:
StackMap stack:
aload 4
aload 0
dup
getfield sun.io.ByteToCharDBCS_ASCII.charOff:I
dup_x1
iconst_1
iadd
putfield sun.io.ByteToCharDBCS_ASCII.charOff:I
iload 8
castore
35: aload 0
dup
getfield sun.io.ByteToCharDBCS_ASCII.byteOff:I
iload 7
iadd
putfield sun.io.ByteToCharDBCS_ASCII.byteOff:I
end local 9 end local 7 36: StackMap locals: sun.io.ByteToCharDBCS_ASCII byte[] int int char[] int int top int
StackMap stack:
aload 0
getfield sun.io.ByteToCharDBCS_ASCII.byteOff:I
iload 3
if_icmplt 4
37: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharDBCS_ASCII.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 38 0 this Lsun/io/ByteToCharDBCS_ASCII;
0 38 1 input [B
0 38 2 inOff I
0 38 3 inEnd I
0 38 4 output [C
0 38 5 outOff I
0 38 6 outEnd I
7 8 7 inputSize I
11 36 7 inputSize I
1 38 8 outputChar C
6 8 9 byte1 I
9 36 9 byte1 I
22 27 10 byte2 I
26 27 11 v 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.ByteToCharDBCS_ASCII.byteOff:I
putfield sun.io.ByteToCharDBCS_ASCII.charOff:I
1: aload 0
iconst_0
putfield sun.io.ByteToCharDBCS_ASCII.savedBytePresent:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/io/ByteToCharDBCS_ASCII;
}
SourceFile: "ByteToCharDBCS_ASCII.java"