public class io.undertow.util.FlexBase64$EncoderInputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.undertow.util.FlexBase64$EncoderInputStream
super_class: java.io.InputStream
{
private final java.io.InputStream input;
descriptor: Ljava/io/InputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] buffer;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] overflow;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int overflowPos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int overflowLimit;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final io.undertow.util.FlexBase64$Encoder encoder;
descriptor: Lio/undertow/util/FlexBase64$Encoder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int limit;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private byte[] one;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private boolean complete;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
sipush 8192
iconst_1
iconst_0
invokespecial io.undertow.util.FlexBase64$EncoderInputStream.<init>:(Ljava/io/InputStream;IZZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/util/FlexBase64$EncoderInputStream;
0 2 1 input Ljava/io/InputStream;
MethodParameters:
Name Flags
input
private void <init>(java.io.InputStream, int, boolean, boolean);
descriptor: (Ljava/io/InputStream;IZZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
bipush 6
newarray 8
putfield io.undertow.util.FlexBase64$EncoderInputStream.overflow:[B
2: aload 0
iconst_0
putfield io.undertow.util.FlexBase64$EncoderInputStream.pos:I
3: aload 0
iconst_0
putfield io.undertow.util.FlexBase64$EncoderInputStream.limit:I
4: aload 0
aload 1
putfield io.undertow.util.FlexBase64$EncoderInputStream.input:Ljava/io/InputStream;
5: aload 0
iload 2
newarray 8
putfield io.undertow.util.FlexBase64$EncoderInputStream.buffer:[B
6: aload 0
new io.undertow.util.FlexBase64$Encoder
dup
iload 3
iload 4
invokespecial io.undertow.util.FlexBase64$Encoder.<init>:(ZZ)V
putfield io.undertow.util.FlexBase64$EncoderInputStream.encoder:Lio/undertow/util/FlexBase64$Encoder;
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/undertow/util/FlexBase64$EncoderInputStream;
0 8 1 input Ljava/io/InputStream;
0 8 2 bufferSize I
0 8 3 wrap Z
0 8 4 url Z
MethodParameters:
Name Flags
input
bufferSize
wrap
url
private int fill();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.buffer:[B
astore 1
start local 1 1: aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.input:Ljava/io/InputStream;
aload 1
iconst_0
aload 1
arraylength
invokevirtual java.io.InputStream.read:([BII)I
istore 2
start local 2 2: aload 0
iconst_0
putfield io.undertow.util.FlexBase64$EncoderInputStream.pos:I
3: aload 0
iload 2
putfield io.undertow.util.FlexBase64$EncoderInputStream.limit:I
4: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/undertow/util/FlexBase64$EncoderInputStream;
1 5 1 buffer [B
2 5 2 read I
Exceptions:
throws java.io.IOException
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.one:[B
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
iconst_1
newarray 8
dup_x1
putfield io.undertow.util.FlexBase64$EncoderInputStream.one:[B
astore 1
3: StackMap locals: byte[]
StackMap stack:
aload 0
aload 1
iconst_0
iconst_1
invokevirtual io.undertow.util.FlexBase64$EncoderInputStream.read:([BII)I
istore 2
start local 2 4: iload 2
ifle 5
aload 1
iconst_0
baload
sipush 255
iand
goto 6
StackMap locals: int
StackMap stack:
5: iconst_m1
StackMap locals:
StackMap stack: int
6: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/undertow/util/FlexBase64$EncoderInputStream;
1 7 1 one [B
4 7 2 read I
Exceptions:
throws java.io.IOException
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=16, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.buffer:[B
astore 4
start local 4 1: aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.overflow:[B
astore 5
start local 5 2: aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.overflowPos:I
istore 6
start local 6 3: aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.overflowLimit:I
istore 7
start local 7 4: aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.complete:Z
istore 8
start local 8 5: aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.encoder:Lio/undertow/util/FlexBase64$Encoder;
getfield io.undertow.util.FlexBase64$Encoder.wrap:Z
istore 9
start local 9 6: iconst_0
istore 10
start local 10 7: iload 6
iload 7
if_icmpge 14
8: aload 0
aload 1
iload 2
iload 3
aload 5
iload 6
iload 7
invokevirtual io.undertow.util.FlexBase64$EncoderInputStream.copyOverflow:([BII[BII)I
istore 10
9: iload 3
iload 10
if_icmple 10
iload 8
ifeq 11
10: StackMap locals: io.undertow.util.FlexBase64$EncoderInputStream byte[] int int byte[] byte[] int int int int int
StackMap stack:
iload 10
ireturn
11: StackMap locals:
StackMap stack:
iload 3
iload 10
isub
istore 3
12: iload 2
iload 10
iadd
istore 2
13: goto 16
StackMap locals:
StackMap stack:
14: iload 8
ifeq 16
15: iconst_m1
ireturn
16: StackMap locals:
StackMap stack:
aload 4
astore 11
start local 11 17: aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.pos:I
istore 12
start local 12 18: aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.limit:I
istore 13
start local 13 19: iconst_1
istore 14
start local 14 20: iload 12
iload 13
if_icmplt 47
21: iload 3
aload 11
arraylength
if_icmple 30
22: iload 3
iconst_4
idiv
iconst_3
imul
iconst_3
isub
istore 15
start local 15 23: iload 9
ifeq 25
24: iload 15
iload 15
bipush 76
idiv
iconst_2
imul
iconst_2
iadd
isub
istore 15
25: StackMap locals: io.undertow.util.FlexBase64$EncoderInputStream byte[] int int byte[] byte[] int int int int int byte[] int int int int
StackMap stack:
iload 15
newarray 8
astore 11
26: aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.input:Ljava/io/InputStream;
aload 11
iconst_0
iload 15
invokevirtual java.io.InputStream.read:([BII)I
istore 13
27: iconst_0
istore 12
28: iconst_0
istore 14
end local 15 29: goto 32
30: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.undertow.util.FlexBase64$EncoderInputStream.fill:()I
istore 13
31: iconst_0
istore 12
32: StackMap locals:
StackMap stack:
iload 13
ifgt 47
33: aload 0
iconst_1
putfield io.undertow.util.FlexBase64$EncoderInputStream.complete:Z
34: iload 3
iload 9
ifeq 35
iconst_4
goto 36
StackMap locals:
StackMap stack: int
35: iconst_2
StackMap locals: io.undertow.util.FlexBase64$EncoderInputStream byte[] int int byte[] byte[] int int int int int byte[] int int int
StackMap stack: int int
36: if_icmpge 43
37: aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.encoder:Lio/undertow/util/FlexBase64$Encoder;
aload 5
iconst_0
invokevirtual io.undertow.util.FlexBase64$Encoder.complete:([BI)I
istore 7
38: aload 0
iload 7
putfield io.undertow.util.FlexBase64$EncoderInputStream.overflowLimit:I
39: aload 0
aload 1
iload 2
iload 3
aload 5
iconst_0
iload 7
invokevirtual io.undertow.util.FlexBase64$EncoderInputStream.copyOverflow:([BII[BII)I
iload 10
iadd
istore 15
start local 15 40: iload 15
ifne 41
iconst_m1
goto 42
StackMap locals: int
StackMap stack:
41: iload 15
StackMap locals:
StackMap stack: int
42: ireturn
end local 15 43: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.encoder:Lio/undertow/util/FlexBase64$Encoder;
aload 1
iload 2
invokevirtual io.undertow.util.FlexBase64$Encoder.complete:([BI)I
iload 2
isub
iload 10
iadd
istore 15
start local 15 44: iload 15
ifne 45
iconst_m1
goto 46
StackMap locals: int
StackMap stack:
45: iload 15
StackMap locals:
StackMap stack: int
46: ireturn
end local 15 47: StackMap locals:
StackMap stack:
iload 3
iload 9
ifeq 48
bipush 6
goto 49
StackMap locals:
StackMap stack: int
48: iconst_4
StackMap locals: io.undertow.util.FlexBase64$EncoderInputStream byte[] int int byte[] byte[] int int int int int byte[] int int int
StackMap stack: int int
49: if_icmpge 54
50: aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.encoder:Lio/undertow/util/FlexBase64$Encoder;
aload 11
iload 12
iload 13
aload 5
iconst_0
aload 5
arraylength
invokevirtual io.undertow.util.FlexBase64$Encoder.encode:([BII[BII)I
istore 7
51: aload 0
iload 7
putfield io.undertow.util.FlexBase64$EncoderInputStream.overflowLimit:I
52: aload 0
aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.encoder:Lio/undertow/util/FlexBase64$Encoder;
invokevirtual io.undertow.util.FlexBase64$Encoder.getLastInputPosition:()I
putfield io.undertow.util.FlexBase64$EncoderInputStream.pos:I
53: aload 0
aload 1
iload 2
iload 3
aload 5
iconst_0
iload 7
invokevirtual io.undertow.util.FlexBase64$EncoderInputStream.copyOverflow:([BII[BII)I
iload 10
iadd
ireturn
54: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.encoder:Lio/undertow/util/FlexBase64$Encoder;
aload 11
iload 12
iload 13
aload 1
iload 2
iload 2
iload 3
iadd
invokevirtual io.undertow.util.FlexBase64$Encoder.encode:([BII[BII)I
iload 2
isub
istore 15
start local 15 55: iload 14
ifeq 57
56: aload 0
aload 0
getfield io.undertow.util.FlexBase64$EncoderInputStream.encoder:Lio/undertow/util/FlexBase64$Encoder;
invokevirtual io.undertow.util.FlexBase64$Encoder.getLastInputPosition:()I
putfield io.undertow.util.FlexBase64$EncoderInputStream.pos:I
57: StackMap locals: int
StackMap stack:
iload 15
ifle 16
58: iload 15
iload 10
iadd
ireturn
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 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 59 0 this Lio/undertow/util/FlexBase64$EncoderInputStream;
0 59 1 b [B
0 59 2 off I
0 59 3 len I
1 59 4 buffer [B
2 59 5 overflow [B
3 59 6 overflowPos I
4 59 7 overflowLimit I
5 59 8 complete Z
6 59 9 wrap Z
7 59 10 copy I
17 59 11 source [B
18 59 12 pos I
19 59 13 limit I
20 59 14 setPos Z
23 29 15 adjust I
40 43 15 ret I
44 47 15 ret I
55 59 15 read I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
private int copyOverflow(byte[], int, int, byte[], int, int);
descriptor: ([BII[BII)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, 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: iload 6
iload 5
isub
istore 6
1: iload 6
iload 3
if_icmpgt 2
iload 6
goto 3
StackMap locals:
StackMap stack:
2: iload 3
StackMap locals:
StackMap stack: int
3: istore 3
4: aload 4
iload 5
aload 1
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 0
iload 5
iload 3
iadd
putfield io.undertow.util.FlexBase64$EncoderInputStream.overflowPos:I
6: iload 3
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 7 0 this Lio/undertow/util/FlexBase64$EncoderInputStream;
0 7 1 b [B
0 7 2 off I
0 7 3 len I
0 7 4 overflow [B
0 7 5 pos I
0 7 6 limit I
MethodParameters:
Name Flags
b
off
len
overflow
pos
limit
}
SourceFile: "FlexBase64.java"
NestHost: io.undertow.util.FlexBase64
InnerClasses:
public final Encoder = io.undertow.util.FlexBase64$Encoder of io.undertow.util.FlexBase64
public EncoderInputStream = io.undertow.util.FlexBase64$EncoderInputStream of io.undertow.util.FlexBase64