class com.sun.xml.internal.org.jvnet.staxex.Base64Encoder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.xml.internal.org.jvnet.staxex.Base64Encoder
super_class: java.lang.Object
{
private static final char[] encodeMap;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: .line 31
ldc Lcom/sun/xml/internal/org/jvnet/staxex/Base64Encoder;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.$assertionsDisabled:Z
3: .line 32
invokestatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.initEncodeMap:()[C
putstatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.encodeMap:[C
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // com.sun.xml.internal.org.jvnet.staxex.Base64Encoder this
0: .line 31
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.sun.xml.internal.org.jvnet.staxex.Base64Encoder this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/org/jvnet/staxex/Base64Encoder;
private static char[] initEncodeMap();
descriptor: ()[C
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=0
0: .line 35
bipush 64
newarray 5
astore 0 /* map */
start local 0 // char[] map
1: .line 37
iconst_0
istore 1 /* i */
start local 1 // int i
2: goto 4
StackMap locals: char[] int
StackMap stack:
3: aload 0 /* map */
iload 1 /* i */
bipush 65
iload 1 /* i */
iadd
i2c
castore
iinc 1 /* i */ 1
StackMap locals:
StackMap stack:
4: iload 1 /* i */
bipush 26
if_icmplt 3
5: .line 38
bipush 26
istore 1 /* i */
goto 7
StackMap locals:
StackMap stack:
6: aload 0 /* map */
iload 1 /* i */
bipush 97
iload 1 /* i */
bipush 26
isub
iadd
i2c
castore
iinc 1 /* i */ 1
StackMap locals:
StackMap stack:
7: iload 1 /* i */
bipush 52
if_icmplt 6
8: .line 39
bipush 52
istore 1 /* i */
goto 10
StackMap locals:
StackMap stack:
9: aload 0 /* map */
iload 1 /* i */
bipush 48
iload 1 /* i */
bipush 52
isub
iadd
i2c
castore
iinc 1 /* i */ 1
StackMap locals:
StackMap stack:
10: iload 1 /* i */
bipush 62
if_icmplt 9
11: .line 40
aload 0 /* map */
bipush 62
bipush 43
castore
12: .line 41
aload 0 /* map */
bipush 63
bipush 47
castore
13: .line 43
aload 0 /* map */
areturn
end local 1 // int i
end local 0 // char[] map
LocalVariableTable:
Start End Slot Name Signature
1 14 0 map [C
2 14 1 i I
public static char encode(int);
descriptor: (I)C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 // int i
0: .line 47
getstatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.encodeMap:[C
iload 0 /* i */
bipush 63
iand
caload
ireturn
end local 0 // int i
LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
MethodParameters:
Name Flags
i
public static byte encodeByte(int);
descriptor: (I)B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 // int i
0: .line 51
getstatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.encodeMap:[C
iload 0 /* i */
bipush 63
iand
caload
i2b
ireturn
end local 0 // int i
LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
MethodParameters:
Name Flags
i
public static java.lang.String print(byte[], int, int);
descriptor: ([BII)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 // byte[] input
start local 1 // int offset
start local 2 // int len
0: .line 55
iload 2 /* len */
iconst_2
iadd
iconst_3
idiv
iconst_4
imul
newarray 5
astore 3 /* buf */
start local 3 // char[] buf
1: .line 56
aload 0 /* input */
iload 1 /* offset */
iload 2 /* len */
aload 3 /* buf */
iconst_0
invokestatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.print:([BII[CI)I
istore 4 /* ptr */
start local 4 // int ptr
2: .line 57
getstatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.$assertionsDisabled:Z
ifne 3
iload 4 /* ptr */
aload 3 /* buf */
arraylength
if_icmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: .line 58
StackMap locals: char[] int
StackMap stack:
new java.lang.String
dup
aload 3 /* buf */
invokespecial java.lang.String.<init>:([C)V
areturn
end local 4 // int ptr
end local 3 // char[] buf
end local 2 // int len
end local 1 // int offset
end local 0 // byte[] input
LocalVariableTable:
Start End Slot Name Signature
0 4 0 input [B
0 4 1 offset I
0 4 2 len I
1 4 3 buf [C
2 4 4 ptr I
MethodParameters:
Name Flags
input
offset
len
public static int print(byte[], int, int, char[], int);
descriptor: ([BII[CI)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=5
start local 0 // byte[] input
start local 1 // int offset
start local 2 // int len
start local 3 // char[] buf
start local 4 // int ptr
0: .line 71
iload 1 /* offset */
istore 5 /* i */
start local 5 // int i
1: goto 30
2: .line 72
StackMap locals: int
StackMap stack:
iload 2 /* len */
iload 5 /* i */
isub
tableswitch { // 1 - 2
1: 3
2: 8
default: 17
}
3: .line 74
StackMap locals:
StackMap stack:
aload 3 /* buf */
iload 4 /* ptr */
iinc 4 /* ptr */ 1
aload 0 /* input */
iload 5 /* i */
baload
iconst_2
ishr
invokestatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.encode:(I)C
castore
4: .line 75
aload 3 /* buf */
iload 4 /* ptr */
iinc 4 /* ptr */ 1
aload 0 /* input */
iload 5 /* i */
baload
iconst_3
iand
iconst_4
ishl
invokestatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.encode:(I)C
castore
5: .line 76
aload 3 /* buf */
iload 4 /* ptr */
iinc 4 /* ptr */ 1
bipush 61
castore
6: .line 77
aload 3 /* buf */
iload 4 /* ptr */
iinc 4 /* ptr */ 1
bipush 61
castore
7: .line 78
goto 29
8: .line 80
StackMap locals:
StackMap stack:
aload 3 /* buf */
iload 4 /* ptr */
iinc 4 /* ptr */ 1
aload 0 /* input */
iload 5 /* i */
baload
iconst_2
ishr
invokestatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.encode:(I)C
castore
9: .line 81
aload 3 /* buf */
iload 4 /* ptr */
iinc 4 /* ptr */ 1
10: .line 82
aload 0 /* input */
iload 5 /* i */
baload
iconst_3
iand
iconst_4
ishl
11: .line 83
aload 0 /* input */
iload 5 /* i */
iconst_1
iadd
baload
iconst_4
ishr
bipush 15
iand
12: .line 82
ior
13: .line 81
invokestatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.encode:(I)C
castore
14: .line 84
aload 3 /* buf */
iload 4 /* ptr */
iinc 4 /* ptr */ 1
aload 0 /* input */
iload 5 /* i */
iconst_1
iadd
baload
bipush 15
iand
iconst_2
ishl
invokestatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.encode:(I)C
castore
15: .line 85
aload 3 /* buf */
iload 4 /* ptr */
iinc 4 /* ptr */ 1
bipush 61
castore
16: .line 86
goto 29
17: .line 88
StackMap locals:
StackMap stack:
aload 3 /* buf */
iload 4 /* ptr */
iinc 4 /* ptr */ 1
aload 0 /* input */
iload 5 /* i */
baload
iconst_2
ishr
invokestatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.encode:(I)C
castore
18: .line 89
aload 3 /* buf */
iload 4 /* ptr */
iinc 4 /* ptr */ 1
19: .line 90
aload 0 /* input */
iload 5 /* i */
baload
iconst_3
iand
iconst_4
ishl
20: .line 91
aload 0 /* input */
iload 5 /* i */
iconst_1
iadd
baload
iconst_4
ishr
bipush 15
iand
21: .line 90
ior
22: .line 89
invokestatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.encode:(I)C
castore
23: .line 92
aload 3 /* buf */
iload 4 /* ptr */
iinc 4 /* ptr */ 1
24: .line 93
aload 0 /* input */
iload 5 /* i */
iconst_1
iadd
baload
bipush 15
iand
iconst_2
ishl
25: .line 94
aload 0 /* input */
iload 5 /* i */
iconst_2
iadd
baload
bipush 6
ishr
iconst_3
iand
26: .line 93
ior
27: .line 92
invokestatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.encode:(I)C
castore
28: .line 95
aload 3 /* buf */
iload 4 /* ptr */
iinc 4 /* ptr */ 1
aload 0 /* input */
iload 5 /* i */
iconst_2
iadd
baload
bipush 63
iand
invokestatic com.sun.xml.internal.org.jvnet.staxex.Base64Encoder.encode:(I)C
castore
29: .line 71
StackMap locals:
StackMap stack:
iinc 5 /* i */ 3
StackMap locals:
StackMap stack:
30: iload 5 /* i */
iload 2 /* len */
if_icmplt 2
end local 5 // int i
31: .line 99
iload 4 /* ptr */
ireturn
end local 4 // int ptr
end local 3 // char[] buf
end local 2 // int len
end local 1 // int offset
end local 0 // byte[] input
LocalVariableTable:
Start End Slot Name Signature
0 32 0 input [B
0 32 1 offset I
0 32 2 len I
0 32 3 buf [C
0 32 4 ptr I
1 31 5 i I
MethodParameters:
Name Flags
input
offset
len
buf
ptr
}
SourceFile: "Base64Encoder.java"