public class org.apache.catalina.util.IOTools
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.catalina.util.IOTools
  super_class: java.lang.Object
{
  protected static final int DEFAULT_BUFFER_SIZE;
    descriptor: I
    flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
    ConstantValue: 4096

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.catalina.util.IOTools this
         0: .line 34
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 36
            return
        end local 0 // org.apache.catalina.util.IOTools this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/catalina/util/IOTools;

  public static void flow(java.io.Reader, java.io.Writer, char[]);
    descriptor: (Ljava/io/Reader;Ljava/io/Writer;[C)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // java.io.Reader reader
        start local 1 // java.io.Writer writer
        start local 2 // char[] buf
         0: .line 50
            goto 2
        start local 3 // int numRead
         1: .line 51
      StackMap locals: int
      StackMap stack:
            aload 1 /* writer */
            aload 2 /* buf */
            iconst_0
            iload 3 /* numRead */
            invokevirtual java.io.Writer.write:([CII)V
        end local 3 // int numRead
         2: .line 50
      StackMap locals:
      StackMap stack:
            aload 0 /* reader */
            aload 2 /* buf */
            invokevirtual java.io.Reader.read:([C)I
            dup
            istore 3 /* numRead */
        start local 3 // int numRead
         3: ifge 1
         4: .line 53
            return
        end local 3 // int numRead
        end local 2 // char[] buf
        end local 1 // java.io.Writer writer
        end local 0 // java.io.Reader reader
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0   reader  Ljava/io/Reader;
            0    5     1   writer  Ljava/io/Writer;
            0    5     2      buf  [C
            1    2     3  numRead  I
            3    5     3  numRead  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      reader  
      writer  
      buf     

  public static void flow(java.io.Reader, java.io.Writer);
    descriptor: (Ljava/io/Reader;Ljava/io/Writer;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // java.io.Reader reader
        start local 1 // java.io.Writer writer
         0: .line 66
            sipush 4096
            newarray 5
            astore 2 /* buf */
        start local 2 // char[] buf
         1: .line 67
            aload 0 /* reader */
            aload 1 /* writer */
            aload 2 /* buf */
            invokestatic org.apache.catalina.util.IOTools.flow:(Ljava/io/Reader;Ljava/io/Writer;[C)V
         2: .line 68
            return
        end local 2 // char[] buf
        end local 1 // java.io.Writer writer
        end local 0 // java.io.Reader reader
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0  reader  Ljava/io/Reader;
            0    3     1  writer  Ljava/io/Writer;
            1    3     2     buf  [C
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      reader  
      writer  

  public static void flow(java.io.InputStream, java.io.OutputStream);
    descriptor: (Ljava/io/InputStream;Ljava/io/OutputStream;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // java.io.InputStream is
        start local 1 // java.io.OutputStream os
         0: .line 82
            sipush 4096
            newarray 8
            astore 2 /* buf */
        start local 2 // byte[] buf
         1: .line 84
            goto 4
        start local 3 // int numRead
         2: .line 85
      StackMap locals: byte[] int
      StackMap stack:
            aload 1 /* os */
            ifnull 4
         3: .line 86
            aload 1 /* os */
            aload 2 /* buf */
            iconst_0
            iload 3 /* numRead */
            invokevirtual java.io.OutputStream.write:([BII)V
        end local 3 // int numRead
         4: .line 84
      StackMap locals:
      StackMap stack:
            aload 0 /* is */
            aload 2 /* buf */
            invokevirtual java.io.InputStream.read:([B)I
            dup
            istore 3 /* numRead */
        start local 3 // int numRead
         5: ifge 2
         6: .line 89
            return
        end local 3 // int numRead
        end local 2 // byte[] buf
        end local 1 // java.io.OutputStream os
        end local 0 // java.io.InputStream is
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0       is  Ljava/io/InputStream;
            0    7     1       os  Ljava/io/OutputStream;
            1    7     2      buf  [B
            2    4     3  numRead  I
            5    7     3  numRead  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      is    
      os    

  public static int readFully(java.io.InputStream, byte[]);
    descriptor: (Ljava/io/InputStream;[B)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // java.io.InputStream is
        start local 1 // byte[] buf
         0: .line 103
            iconst_0
            istore 2 /* bytesRead */
        start local 2 // int bytesRead
         1: .line 105
            goto 3
        start local 3 // int read
         2: .line 106
      StackMap locals: int int
      StackMap stack:
            iload 2 /* bytesRead */
            iload 3 /* read */
            iadd
            istore 2 /* bytesRead */
        end local 3 // int read
         3: .line 105
      StackMap locals:
      StackMap stack:
            iload 2 /* bytesRead */
            aload 1 /* buf */
            arraylength
            if_icmpge 5
            aload 0 /* is */
            aload 1 /* buf */
            iload 2 /* bytesRead */
            aload 1 /* buf */
            arraylength
            iload 2 /* bytesRead */
            isub
            invokevirtual java.io.InputStream.read:([BII)I
            dup
            istore 3 /* read */
        start local 3 // int read
         4: ifge 2
        end local 3 // int read
         5: .line 108
      StackMap locals:
      StackMap stack:
            iload 2 /* bytesRead */
            ireturn
        end local 2 // int bytesRead
        end local 1 // byte[] buf
        end local 0 // java.io.InputStream is
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0         is  Ljava/io/InputStream;
            0    6     1        buf  [B
            1    6     2  bytesRead  I
            2    3     3       read  I
            4    5     3       read  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      is    
      buf   
}
SourceFile: "IOTools.java"