public class io.undertow.util.FlexBase64$EncoderOutputStream extends java.io.OutputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.undertow.util.FlexBase64$EncoderOutputStream
super_class: java.io.OutputStream
{
private final java.io.OutputStream output;
descriptor: Ljava/io/OutputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] buffer;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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 byte[] one;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
sipush 8192
iconst_1
invokespecial io.undertow.util.FlexBase64$EncoderOutputStream.<init>:(Ljava/io/OutputStream;IZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/util/FlexBase64$EncoderOutputStream;
0 2 1 output Ljava/io/OutputStream;
MethodParameters:
Name Flags
output
private void <init>(java.io.OutputStream, int, boolean);
descriptor: (Ljava/io/OutputStream;IZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.io.OutputStream.<init>:()V
1: aload 0
iconst_0
putfield io.undertow.util.FlexBase64$EncoderOutputStream.pos:I
2: aload 0
aload 1
putfield io.undertow.util.FlexBase64$EncoderOutputStream.output:Ljava/io/OutputStream;
3: aload 0
iload 2
newarray 8
putfield io.undertow.util.FlexBase64$EncoderOutputStream.buffer:[B
4: aload 0
iload 3
invokestatic io.undertow.util.FlexBase64.createEncoder:(Z)Lio/undertow/util/FlexBase64$Encoder;
putfield io.undertow.util.FlexBase64$EncoderOutputStream.encoder:Lio/undertow/util/FlexBase64$Encoder;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/undertow/util/FlexBase64$EncoderOutputStream;
0 6 1 output Ljava/io/OutputStream;
0 6 2 bufferSize I
0 6 3 wrap Z
MethodParameters:
Name Flags
output
bufferSize
wrap
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.buffer:[B
astore 4
start local 4 1: aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.encoder:Lio/undertow/util/FlexBase64$Encoder;
astore 5
start local 5 2: aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.pos:I
istore 6
start local 6 3: iload 2
iload 3
iadd
istore 7
start local 7 4: iload 2
istore 8
start local 8 5: goto 12
6: StackMap locals: io.undertow.util.FlexBase64$EncoderOutputStream byte[] int int byte[] io.undertow.util.FlexBase64$Encoder int int int
StackMap stack:
aload 5
aload 1
iload 8
iload 7
aload 4
iload 6
aload 4
arraylength
invokevirtual io.undertow.util.FlexBase64$Encoder.encode:([BII[BII)I
istore 6
7: aload 5
invokevirtual io.undertow.util.FlexBase64$Encoder.getLastInputPosition:()I
istore 9
start local 9 8: iload 9
iload 8
if_icmpeq 9
iload 6
aload 4
arraylength
if_icmplt 11
9: StackMap locals: int
StackMap stack:
aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.output:Ljava/io/OutputStream;
aload 4
iconst_0
iload 6
invokevirtual java.io.OutputStream.write:([BII)V
10: iconst_0
istore 6
11: StackMap locals:
StackMap stack:
iload 9
istore 8
end local 9 12: StackMap locals:
StackMap stack:
iload 8
iload 7
if_icmplt 6
13: aload 0
iload 6
putfield io.undertow.util.FlexBase64$EncoderOutputStream.pos:I
14: return
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 15 0 this Lio/undertow/util/FlexBase64$EncoderOutputStream;
0 15 1 b [B
0 15 2 off I
0 15 3 len I
1 15 4 buffer [B
2 15 5 encoder Lio/undertow/util/FlexBase64$Encoder;
3 15 6 pos I
4 15 7 limit I
5 15 8 ipos I
8 12 9 last I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.one:[B
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 0
iconst_1
newarray 8
dup
astore 2
putfield io.undertow.util.FlexBase64$EncoderOutputStream.one:[B
3: StackMap locals: byte[]
StackMap stack:
aload 2
iconst_0
iload 1
i2b
bastore
4: aload 0
aload 2
iconst_0
iconst_1
invokevirtual io.undertow.util.FlexBase64$EncoderOutputStream.write:([BII)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/undertow/util/FlexBase64$EncoderOutputStream;
0 6 1 b I
1 6 2 one [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.output:Ljava/io/OutputStream;
astore 1
start local 1 1: aload 1
aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.buffer:[B
iconst_0
aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.pos:I
invokevirtual java.io.OutputStream.write:([BII)V
2: aload 1
invokevirtual java.io.OutputStream.flush:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/undertow/util/FlexBase64$EncoderOutputStream;
1 4 1 output Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
public void complete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.output:Ljava/io/OutputStream;
astore 1
start local 1 1: aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.buffer:[B
astore 2
start local 2 2: aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.pos:I
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: aload 2
arraylength
iload 3
isub
aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.encoder:Lio/undertow/util/FlexBase64$Encoder;
getfield io.undertow.util.FlexBase64$Encoder.wrap:Z
ifeq 5
iconst_2
goto 6
StackMap locals: io.undertow.util.FlexBase64$EncoderOutputStream java.io.OutputStream byte[] int int
StackMap stack: int
5: iconst_4
StackMap locals: io.undertow.util.FlexBase64$EncoderOutputStream java.io.OutputStream byte[] int int
StackMap stack: int int
6: if_icmplt 9
7: aload 0
aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.encoder:Lio/undertow/util/FlexBase64$Encoder;
aload 2
iload 3
invokevirtual io.undertow.util.FlexBase64$Encoder.complete:([BI)I
putfield io.undertow.util.FlexBase64$EncoderOutputStream.pos:I
8: iconst_1
istore 4
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.undertow.util.FlexBase64$EncoderOutputStream.flush:()V
10: iload 4
ifne 14
11: aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.encoder:Lio/undertow/util/FlexBase64$Encoder;
aload 2
iconst_0
invokevirtual io.undertow.util.FlexBase64$Encoder.complete:([BI)I
istore 5
start local 5 12: aload 1
aload 2
iconst_0
iload 5
invokevirtual java.io.OutputStream.write:([BII)V
13: aload 1
invokevirtual java.io.OutputStream.flush:()V
end local 5 14: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/undertow/util/FlexBase64$EncoderOutputStream;
1 15 1 output Ljava/io/OutputStream;
2 15 2 buffer [B
3 15 3 pos I
4 15 4 completed Z
12 14 5 len I
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.undertow.util.FlexBase64$EncoderOutputStream.complete:()V
1: goto 3
StackMap locals:
StackMap stack: java.io.IOException
2: pop
3: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.output:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.flush:()V
4: goto 6
StackMap locals:
StackMap stack: java.io.IOException
5: pop
6: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.util.FlexBase64$EncoderOutputStream.output:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/undertow/util/FlexBase64$EncoderOutputStream;
Exception table:
from to target type
0 1 2 Class java.io.IOException
3 4 5 Class java.io.IOException
Exceptions:
throws java.io.IOException
}
SourceFile: "FlexBase64.java"
NestHost: io.undertow.util.FlexBase64
InnerClasses:
public final Encoder = io.undertow.util.FlexBase64$Encoder of io.undertow.util.FlexBase64
public EncoderOutputStream = io.undertow.util.FlexBase64$EncoderOutputStream of io.undertow.util.FlexBase64