public class org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream extends java.io.OutputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream
  super_class: java.io.OutputStream
{
  static final int DEFAULT_SIZE;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 1024

  private static final byte[] EMPTY_BYTE_ARRAY;
    descriptor: [B
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.util.List<byte[]> buffers;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<[B>;

  private int currentBufferIndex;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int filledBufferSum;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private byte[] currentBuffer;
    descriptor: [B
    flags: (0x0002) ACC_PRIVATE

  private int count;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 51
            iconst_0
            newarray 8
            putstatic org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.EMPTY_BYTE_ARRAY:[B
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
         0: .line 69
            aload 0 /* this */
            sipush 1024
            invokespecial org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.<init>:(I)V
         1: .line 70
            return
        end local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/tomcat/util/http/fileupload/ByteArrayOutputStream;

  public void <init>(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
        start local 1 // int size
         0: .line 79
            aload 0 /* this */
            invokespecial java.io.OutputStream.<init>:()V
         1: .line 54
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.buffers:Ljava/util/List;
         2: .line 80
            iload 1 /* size */
            ifge 6
         3: .line 81
            new java.lang.IllegalArgumentException
            dup
         4: .line 82
            new java.lang.StringBuilder
            dup
            ldc "Negative initial size: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* size */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         5: .line 81
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 84
      StackMap locals: org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream int
      StackMap stack:
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         7: .line 85
            aload 0 /* this */
            iload 1 /* size */
            invokevirtual org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.needNewBuffer:(I)V
         8: .line 84
            aload 2
            monitorexit
         9: goto 12
      StackMap locals: org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream int org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream
      StackMap stack: java.lang.Throwable
        10: aload 2
            monitorexit
        11: athrow
        12: .line 87
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int size
        end local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   13     0  this  Lorg/apache/tomcat/util/http/fileupload/ByteArrayOutputStream;
            0   13     1  size  I
      Exception table:
        from    to  target  type
           7     9      10  any
          10    11      10  any
    MethodParameters:
      Name  Flags
      size  final

  private void needNewBuffer(int);
    descriptor: (I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
        start local 1 // int newcount
         0: .line 96
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBufferIndex:I
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.buffers:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            iconst_1
            isub
            if_icmpge 5
         1: .line 98
            aload 0 /* this */
            dup
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.filledBufferSum:I
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
            arraylength
            iadd
            putfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.filledBufferSum:I
         2: .line 100
            aload 0 /* this */
            dup
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBufferIndex:I
            iconst_1
            iadd
            putfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBufferIndex:I
         3: .line 101
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.buffers:Ljava/util/List;
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBufferIndex:I
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast byte[]
            putfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
         4: .line 102
            goto 16
         5: .line 105
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
            ifnonnull 9
         6: .line 106
            iload 1 /* newcount */
            istore 2 /* newBufferSize */
        start local 2 // int newBufferSize
         7: .line 107
            aload 0 /* this */
            iconst_0
            putfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.filledBufferSum:I
         8: .line 108
            goto 13
        end local 2 // int newBufferSize
         9: .line 110
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
            arraylength
            iconst_1
            ishl
        10: .line 111
            iload 1 /* newcount */
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.filledBufferSum:I
            isub
        11: .line 109
            invokestatic java.lang.Math.max:(II)I
            istore 2 /* newBufferSize */
        start local 2 // int newBufferSize
        12: .line 112
            aload 0 /* this */
            dup
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.filledBufferSum:I
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
            arraylength
            iadd
            putfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.filledBufferSum:I
        13: .line 115
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            dup
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBufferIndex:I
            iconst_1
            iadd
            putfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBufferIndex:I
        14: .line 116
            aload 0 /* this */
            iload 2 /* newBufferSize */
            newarray 8
            putfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
        15: .line 117
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.buffers:Ljava/util/List;
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // int newBufferSize
        16: .line 119
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int newcount
        end local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   17     0           this  Lorg/apache/tomcat/util/http/fileupload/ByteArrayOutputStream;
            0   17     1       newcount  I
            7    9     2  newBufferSize  I
           12   16     2  newBufferSize  I
    MethodParameters:
          Name  Flags
      newcount  final

  public void write(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=9, args_size=4
        start local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 129
            iload 2 /* off */
            iflt 5
         1: .line 130
            iload 2 /* off */
            aload 1 /* b */
            arraylength
            if_icmpgt 5
         2: .line 131
            iload 3 /* len */
            iflt 5
         3: .line 132
            iload 2 /* off */
            iload 3 /* len */
            iadd
            aload 1 /* b */
            arraylength
            if_icmpgt 5
         4: .line 133
            iload 2 /* off */
            iload 3 /* len */
            iadd
            ifge 6
         5: .line 134
      StackMap locals:
      StackMap stack:
            new java.lang.IndexOutOfBoundsException
            dup
            invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
            athrow
         6: .line 135
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            ifne 8
         7: .line 136
            return
         8: .line 138
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 4
            monitorenter
         9: .line 139
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.count:I
            iload 3 /* len */
            iadd
            istore 5 /* newcount */
        start local 5 // int newcount
        10: .line 140
            iload 3 /* len */
            istore 6 /* remaining */
        start local 6 // int remaining
        11: .line 141
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.count:I
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.filledBufferSum:I
            isub
            istore 7 /* inBufferPos */
        start local 7 // int inBufferPos
        12: .line 142
            goto 19
        13: .line 143
      StackMap locals: org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream byte[] int int org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream int int int
      StackMap stack:
            iload 6 /* remaining */
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
            arraylength
            iload 7 /* inBufferPos */
            isub
            invokestatic java.lang.Math.min:(II)I
            istore 8 /* part */
        start local 8 // int part
        14: .line 144
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            iadd
            iload 6 /* remaining */
            isub
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
            iload 7 /* inBufferPos */
            iload 8 /* part */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        15: .line 145
            iload 6 /* remaining */
            iload 8 /* part */
            isub
            istore 6 /* remaining */
        16: .line 146
            iload 6 /* remaining */
            ifle 19
        17: .line 147
            aload 0 /* this */
            iload 5 /* newcount */
            invokevirtual org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.needNewBuffer:(I)V
        18: .line 148
            iconst_0
            istore 7 /* inBufferPos */
        end local 8 // int part
        19: .line 142
      StackMap locals:
      StackMap stack:
            iload 6 /* remaining */
            ifgt 13
        20: .line 151
            aload 0 /* this */
            iload 5 /* newcount */
            putfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.count:I
        end local 7 // int inBufferPos
        end local 6 // int remaining
        end local 5 // int newcount
        21: .line 138
            aload 4
            monitorexit
        22: goto 25
      StackMap locals: org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream byte[] int int org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream
      StackMap stack: java.lang.Throwable
        23: aload 4
            monitorexit
        24: athrow
        25: .line 153
      StackMap locals:
      StackMap stack:
            return
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   26     0         this  Lorg/apache/tomcat/util/http/fileupload/ByteArrayOutputStream;
            0   26     1            b  [B
            0   26     2          off  I
            0   26     3          len  I
           10   21     5     newcount  I
           11   21     6    remaining  I
           12   21     7  inBufferPos  I
           14   19     8         part  I
      Exception table:
        from    to  target  type
           9    22      23  any
          23    24      23  any
    MethodParameters:
      Name  Flags
      b     final
      off   final
      len   final

  public synchronized void write(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
        start local 1 // int b
         0: .line 161
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.count:I
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.filledBufferSum:I
            isub
            istore 2 /* inBufferPos */
        start local 2 // int inBufferPos
         1: .line 162
            iload 2 /* inBufferPos */
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
            arraylength
            if_icmpne 4
         2: .line 163
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.count:I
            iconst_1
            iadd
            invokevirtual org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.needNewBuffer:(I)V
         3: .line 164
            iconst_0
            istore 2 /* inBufferPos */
         4: .line 166
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
            iload 2 /* inBufferPos */
            iload 1 /* b */
            i2b
            bastore
         5: .line 167
            aload 0 /* this */
            dup
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.count:I
            iconst_1
            iadd
            putfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.count:I
         6: .line 168
            return
        end local 2 // int inBufferPos
        end local 1 // int b
        end local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    7     0         this  Lorg/apache/tomcat/util/http/fileupload/ByteArrayOutputStream;
            0    7     1            b  I
            1    7     2  inBufferPos  I
    MethodParameters:
      Name  Flags
      b     final

  public synchronized int write(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
        start local 1 // java.io.InputStream in
         0: .line 182
            iconst_0
            istore 2 /* readCount */
        start local 2 // int readCount
         1: .line 183
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.count:I
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.filledBufferSum:I
            isub
            istore 3 /* inBufferPos */
        start local 3 // int inBufferPos
         2: .line 184
            aload 1 /* in */
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
            iload 3 /* inBufferPos */
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
            arraylength
            iload 3 /* inBufferPos */
            isub
            invokevirtual java.io.InputStream.read:([BII)I
            istore 4 /* n */
        start local 4 // int n
         3: .line 185
            goto 11
         4: .line 186
      StackMap locals: int int int
      StackMap stack:
            iload 2 /* readCount */
            iload 4 /* n */
            iadd
            istore 2 /* readCount */
         5: .line 187
            iload 3 /* inBufferPos */
            iload 4 /* n */
            iadd
            istore 3 /* inBufferPos */
         6: .line 188
            aload 0 /* this */
            dup
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.count:I
            iload 4 /* n */
            iadd
            putfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.count:I
         7: .line 189
            iload 3 /* inBufferPos */
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
            arraylength
            if_icmpne 10
         8: .line 190
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
            arraylength
            invokevirtual org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.needNewBuffer:(I)V
         9: .line 191
            iconst_0
            istore 3 /* inBufferPos */
        10: .line 193
      StackMap locals:
      StackMap stack:
            aload 1 /* in */
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
            iload 3 /* inBufferPos */
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.currentBuffer:[B
            arraylength
            iload 3 /* inBufferPos */
            isub
            invokevirtual java.io.InputStream.read:([BII)I
            istore 4 /* n */
        11: .line 185
      StackMap locals:
      StackMap stack:
            iload 4 /* n */
            iconst_m1
            if_icmpne 4
        12: .line 195
            iload 2 /* readCount */
            ireturn
        end local 4 // int n
        end local 3 // int inBufferPos
        end local 2 // int readCount
        end local 1 // java.io.InputStream in
        end local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   13     0         this  Lorg/apache/tomcat/util/http/fileupload/ByteArrayOutputStream;
            0   13     1           in  Ljava/io/InputStream;
            1   13     2    readCount  I
            2   13     3  inBufferPos  I
            3   13     4            n  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      in    final

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
         0: .line 209
            return
        end local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/tomcat/util/http/fileupload/ByteArrayOutputStream;
    Exceptions:
      throws java.io.IOException

  public synchronized void writeTo(java.io.OutputStream);
    descriptor: (Ljava/io/OutputStream;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=6, args_size=2
        start local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
        start local 1 // java.io.OutputStream out
         0: .line 220
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.count:I
            istore 2 /* remaining */
        start local 2 // int remaining
         1: .line 221
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.buffers:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 8
      StackMap locals: org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream java.io.OutputStream int top java.util.Iterator
      StackMap stack:
         2: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast byte[]
            astore 3 /* buf */
        start local 3 // byte[] buf
         3: .line 222
            aload 3 /* buf */
            arraylength
            iload 2 /* remaining */
            invokestatic java.lang.Math.min:(II)I
            istore 5 /* c */
        start local 5 // int c
         4: .line 223
            aload 1 /* out */
            aload 3 /* buf */
            iconst_0
            iload 5 /* c */
            invokevirtual java.io.OutputStream.write:([BII)V
         5: .line 224
            iload 2 /* remaining */
            iload 5 /* c */
            isub
            istore 2 /* remaining */
         6: .line 225
            iload 2 /* remaining */
            ifne 8
         7: .line 226
            goto 9
        end local 5 // int c
        end local 3 // byte[] buf
         8: .line 221
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         9: .line 229
      StackMap locals: org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream java.io.OutputStream int
      StackMap stack:
            return
        end local 2 // int remaining
        end local 1 // java.io.OutputStream out
        end local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   10     0       this  Lorg/apache/tomcat/util/http/fileupload/ByteArrayOutputStream;
            0   10     1        out  Ljava/io/OutputStream;
            1   10     2  remaining  I
            3    8     3        buf  [B
            4    8     5          c  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      out   final

  public synchronized byte[] toByteArray();
    descriptor: ()[B
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=7, args_size=1
        start local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
         0: .line 239
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.count:I
            istore 1 /* remaining */
        start local 1 // int remaining
         1: .line 240
            iload 1 /* remaining */
            ifne 3
         2: .line 241
            getstatic org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.EMPTY_BYTE_ARRAY:[B
            areturn
         3: .line 243
      StackMap locals: int
      StackMap stack:
            iload 1 /* remaining */
            newarray 8
            astore 2 /* newbuf */
        start local 2 // byte[] newbuf
         4: .line 244
            iconst_0
            istore 3 /* pos */
        start local 3 // int pos
         5: .line 245
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream.buffers:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 5
            goto 13
      StackMap locals: org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream int byte[] int top java.util.Iterator
      StackMap stack:
         6: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast byte[]
            astore 4 /* buf */
        start local 4 // byte[] buf
         7: .line 246
            aload 4 /* buf */
            arraylength
            iload 1 /* remaining */
            invokestatic java.lang.Math.min:(II)I
            istore 6 /* c */
        start local 6 // int c
         8: .line 247
            aload 4 /* buf */
            iconst_0
            aload 2 /* newbuf */
            iload 3 /* pos */
            iload 6 /* c */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         9: .line 248
            iload 3 /* pos */
            iload 6 /* c */
            iadd
            istore 3 /* pos */
        10: .line 249
            iload 1 /* remaining */
            iload 6 /* c */
            isub
            istore 1 /* remaining */
        11: .line 250
            iload 1 /* remaining */
            ifne 13
        12: .line 251
            goto 14
        end local 6 // int c
        end local 4 // byte[] buf
        13: .line 245
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 6
        14: .line 254
      StackMap locals: org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream int byte[] int
      StackMap stack:
            aload 2 /* newbuf */
            areturn
        end local 3 // int pos
        end local 2 // byte[] newbuf
        end local 1 // int remaining
        end local 0 // org.apache.tomcat.util.http.fileupload.ByteArrayOutputStream this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   15     0       this  Lorg/apache/tomcat/util/http/fileupload/ByteArrayOutputStream;
            1   15     1  remaining  I
            4   15     2     newbuf  [B
            5   15     3        pos  I
            7   13     4        buf  [B
            8   13     6          c  I
}
SourceFile: "ByteArrayOutputStream.java"