public final class sun.nio.cs.SingleByte$Decoder extends java.nio.charset.CharsetDecoder implements sun.nio.cs.ArrayDecoder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.nio.cs.SingleByte$Decoder
super_class: java.nio.charset.CharsetDecoder
{
private final char[] b2c;
descriptor: [C
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private char repl;
descriptor: C
flags: (0x0002) ACC_PRIVATE
public void <init>(java.nio.charset.Charset, char[]);
descriptor: (Ljava/nio/charset/Charset;[C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
fconst_1
fconst_1
invokespecial java.nio.charset.CharsetDecoder.<init>:(Ljava/nio/charset/Charset;FF)V
1: aload 0
ldc 65533
putfield sun.nio.cs.SingleByte$Decoder.repl:C
2: aload 0
aload 2
putfield sun.nio.cs.SingleByte$Decoder.b2c:[C
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/cs/SingleByte$Decoder;
0 4 1 cs Ljava/nio/charset/Charset;
0 4 2 b2c [C
MethodParameters:
Name Flags
cs
b2c
private java.nio.charset.CoderResult decodeArrayLoop(java.nio.ByteBuffer, java.nio.CharBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
astore 3
start local 3 1: aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iadd
istore 4
start local 4 2: aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
iadd
istore 5
start local 5 3: aload 2
invokevirtual java.nio.CharBuffer.array:()[C
astore 6
start local 6 4: aload 2
invokevirtual java.nio.CharBuffer.arrayOffset:()I
aload 2
invokevirtual java.nio.CharBuffer.position:()I
iadd
istore 7
start local 7 5: aload 2
invokevirtual java.nio.CharBuffer.arrayOffset:()I
aload 2
invokevirtual java.nio.CharBuffer.limit:()I
iadd
istore 8
start local 8 6: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 9
start local 9 7: iload 8
iload 7
isub
iload 5
iload 4
isub
if_icmpge 18
8: iload 4
iload 8
iload 7
isub
iadd
istore 5
9: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 9
10: goto 18
11: StackMap locals: sun.nio.cs.SingleByte$Decoder java.nio.ByteBuffer java.nio.CharBuffer byte[] int int char[] int int java.nio.charset.CoderResult
StackMap stack:
aload 0
aload 3
iload 4
baload
invokevirtual sun.nio.cs.SingleByte$Decoder.decode:(I)C
istore 10
start local 10 12: iload 10
ldc 65533
if_icmpne 16
13: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
14: aload 1
iload 4
aload 2
iload 7
15: invokestatic sun.nio.cs.SingleByte.withResult:(Ljava/nio/charset/CoderResult;Ljava/nio/Buffer;ILjava/nio/Buffer;I)Ljava/nio/charset/CoderResult;
areturn
16: StackMap locals: int
StackMap stack:
aload 6
iload 7
iinc 7 1
iload 10
castore
17: iinc 4 1
end local 10 18: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmplt 11
19: aload 9
aload 1
iload 4
aload 2
iload 7
invokestatic sun.nio.cs.SingleByte.withResult:(Ljava/nio/charset/CoderResult;Ljava/nio/Buffer;ILjava/nio/Buffer;I)Ljava/nio/charset/CoderResult;
areturn
end local 9 end local 8 end local 7 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 20 0 this Lsun/nio/cs/SingleByte$Decoder;
0 20 1 src Ljava/nio/ByteBuffer;
0 20 2 dst Ljava/nio/CharBuffer;
1 20 3 sa [B
2 20 4 sp I
3 20 5 sl I
4 20 6 da [C
5 20 7 dp I
6 20 8 dl I
7 20 9 cr Ljava/nio/charset/CoderResult;
12 18 10 c C
MethodParameters:
Name Flags
src
dst
private java.nio.charset.CoderResult decodeBufferLoop(java.nio.ByteBuffer, java.nio.CharBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 3
start local 3 1: goto 13
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
invokevirtual java.nio.ByteBuffer.get:()B
invokevirtual sun.nio.cs.SingleByte$Decoder.decode:(I)C
istore 4
start local 4 3: iload 4
ldc 65533
if_icmpne 7
4: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 6
5: aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
6: aload 6
areturn
7: StackMap locals: int
StackMap stack:
aload 2
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 11
8: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 6
9: aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
10: aload 6
areturn
11: StackMap locals:
StackMap stack:
aload 2
iload 4
invokevirtual java.nio.CharBuffer.put:(C)Ljava/nio/CharBuffer;
pop
12: iinc 3 1
end local 4 13: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 2
14: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 6
15: aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
16: aload 6
areturn
17: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
18: aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
19: aload 5
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/nio/cs/SingleByte$Decoder;
0 20 1 src Ljava/nio/ByteBuffer;
0 20 2 dst Ljava/nio/CharBuffer;
1 20 3 mark I
3 13 4 c C
Exception table:
from to target type
1 5 17 any
7 9 17 any
11 15 17 any
MethodParameters:
Name Flags
src
dst
protected java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer, java.nio.CharBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 2
aload 2
invokevirtual java.nio.CharBuffer.hasArray:()Z
ifeq 2
1: aload 0
aload 1
aload 2
invokevirtual sun.nio.cs.SingleByte$Decoder.decodeArrayLoop:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.nio.cs.SingleByte$Decoder.decodeBufferLoop:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/cs/SingleByte$Decoder;
0 3 1 src Ljava/nio/ByteBuffer;
0 3 2 dst Ljava/nio/CharBuffer;
MethodParameters:
Name Flags
src
dst
private final char decode(int);
descriptor: (I)C
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.cs.SingleByte$Decoder.b2c:[C
iload 1
sipush 128
iadd
caload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/cs/SingleByte$Decoder;
0 1 1 b I
MethodParameters:
Name Flags
b
protected void implReplaceWith(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
putfield sun.nio.cs.SingleByte$Decoder.repl:C
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/cs/SingleByte$Decoder;
0 2 1 newReplacement Ljava/lang/String;
MethodParameters:
Name Flags
newReplacement
public int decode(byte[], int, int, char[]);
descriptor: ([BII[C)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
aload 4
arraylength
if_icmple 2
1: aload 4
arraylength
istore 3
2: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 3: goto 8
4: StackMap locals: int
StackMap stack:
aload 4
iload 5
aload 0
aload 1
iload 2
iinc 2 1
baload
invokevirtual sun.nio.cs.SingleByte$Decoder.decode:(I)C
castore
5: aload 4
iload 5
caload
ldc 65533
if_icmpne 7
6: aload 4
iload 5
aload 0
getfield sun.nio.cs.SingleByte$Decoder.repl:C
castore
7: StackMap locals:
StackMap stack:
iinc 5 1
8: StackMap locals:
StackMap stack:
iload 5
iload 3
if_icmplt 4
9: iload 5
ireturn
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 10 0 this Lsun/nio/cs/SingleByte$Decoder;
0 10 1 src [B
0 10 2 sp I
0 10 3 len I
0 10 4 dst [C
3 10 5 dp I
MethodParameters:
Name Flags
src
sp
len
dst
}
SourceFile: "SingleByte.java"
NestHost: sun.nio.cs.SingleByte
InnerClasses:
public final Decoder = sun.nio.cs.SingleByte$Decoder of sun.nio.cs.SingleByte