public abstract class sun.io.ByteToCharSingleByte extends sun.io.ByteToCharConverter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.io.ByteToCharSingleByte
super_class: sun.io.ByteToCharConverter
{
protected java.lang.String byteToCharTable;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
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.ByteToCharConverter.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/ByteToCharSingleByte;
public java.lang.String getByteToCharTable();
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.ByteToCharSingleByte.byteToCharTable:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/ByteToCharSingleByte;
public int flush(char[], int, int);
descriptor: ([CII)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
aload 0
iconst_0
dup_x1
putfield sun.io.ByteToCharSingleByte.charOff:I
putfield sun.io.ByteToCharSingleByte.byteOff:I
1: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/io/ByteToCharSingleByte;
0 2 1 output [C
0 2 2 outStart I
0 2 3 outEnd I
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=3, locals=9, 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.ByteToCharSingleByte.charOff:I
1: aload 0
iload 2
putfield sun.io.ByteToCharSingleByte.byteOff:I
2: goto 16
3: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.io.ByteToCharSingleByte.byteOff:I
baload
istore 8
start local 8 4: aload 0
iload 8
invokevirtual sun.io.ByteToCharSingleByte.getUnicode:(I)C
istore 7
start local 7 5: iload 7
ldc 65533
if_icmpne 11
6: aload 0
getfield sun.io.ByteToCharSingleByte.subMode:Z
ifeq 9
7: aload 0
getfield sun.io.ByteToCharSingleByte.subChars:[C
iconst_0
caload
istore 7
8: goto 11
9: StackMap locals: int int
StackMap stack:
aload 0
iconst_1
putfield sun.io.ByteToCharSingleByte.badInputLength:I
10: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharSingleByte.charOff:I
iload 6
if_icmplt 13
12: new sun.io.ConversionBufferFullException
dup
invokespecial sun.io.ConversionBufferFullException.<init>:()V
athrow
13: StackMap locals:
StackMap stack:
aload 4
aload 0
getfield sun.io.ByteToCharSingleByte.charOff:I
iload 7
castore
14: aload 0
dup
getfield sun.io.ByteToCharSingleByte.charOff:I
iconst_1
iadd
putfield sun.io.ByteToCharSingleByte.charOff:I
15: aload 0
dup
getfield sun.io.ByteToCharSingleByte.byteOff:I
iconst_1
iadd
putfield sun.io.ByteToCharSingleByte.byteOff:I
end local 8 end local 7 16: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharSingleByte.byteOff:I
iload 3
if_icmplt 3
17: aload 0
getfield sun.io.ByteToCharSingleByte.charOff: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 18 0 this Lsun/io/ByteToCharSingleByte;
0 18 1 input [B
0 18 2 inOff I
0 18 3 inEnd I
0 18 4 output [C
0 18 5 outOff I
0 18 6 outEnd I
5 16 7 outputChar C
4 16 8 byteIndex I
Exceptions:
throws sun.io.UnknownCharacterException, sun.io.MalformedInputException, sun.io.ConversionBufferFullException
MethodParameters:
Name Flags
input
inOff
inEnd
output
outOff
outEnd
protected char getUnicode(int);
descriptor: (I)C
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
sipush 128
iadd
istore 2
start local 2 1: iload 2
aload 0
getfield sun.io.ByteToCharSingleByte.byteToCharTable:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmpge 2
iload 2
ifge 3
2: StackMap locals: int
StackMap stack:
ldc 65533
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharSingleByte.byteToCharTable:Ljava/lang/String;
iload 2
invokevirtual java.lang.String.charAt:(I)C
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/io/ByteToCharSingleByte;
0 4 1 byteIndex I
1 4 2 n I
MethodParameters:
Name Flags
byteIndex
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.ByteToCharSingleByte.charOff:I
putfield sun.io.ByteToCharSingleByte.byteOff:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/io/ByteToCharSingleByte;
}
SourceFile: "ByteToCharSingleByte.java"