public class org.apache.tomcat.util.http.fileupload.IOUtils
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.tomcat.util.http.fileupload.IOUtils
  super_class: java.lang.Object
{
  public static final int EOF;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: -1

  private static final int DEFAULT_BUFFER_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 4096

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.http.fileupload.IOUtils this
         0: .line 56
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.apache.tomcat.util.http.fileupload.IOUtils this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/tomcat/util/http/fileupload/IOUtils;

  public static void closeQuietly(java.io.Closeable);
    descriptor: (Ljava/io/Closeable;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.io.Closeable closeable
         0: .line 111
            aload 0 /* closeable */
            ifnull 4
         1: .line 112
            aload 0 /* closeable */
            invokeinterface java.io.Closeable.close:()V
         2: .line 114
            goto 4
      StackMap locals:
      StackMap stack: java.io.IOException
         3: pop
         4: .line 117
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.io.Closeable closeable
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0  closeable  Ljava/io/Closeable;
      Exception table:
        from    to  target  type
           0     2       3  Class java.io.IOException
    MethodParameters:
           Name  Flags
      closeable  final

  public static int copy(java.io.InputStream, java.io.OutputStream);
    descriptor: (Ljava/io/InputStream;Ljava/io/OutputStream;)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // java.io.InputStream input
        start local 1 // java.io.OutputStream output
         0: .line 141
            aload 0 /* input */
            aload 1 /* output */
            invokestatic org.apache.tomcat.util.http.fileupload.IOUtils.copyLarge:(Ljava/io/InputStream;Ljava/io/OutputStream;)J
            lstore 2 /* count */
        start local 2 // long count
         1: .line 142
            lload 2 /* count */
            ldc 2147483647
            lcmp
            ifle 3
         2: .line 143
            iconst_m1
            ireturn
         3: .line 145
      StackMap locals: long
      StackMap stack:
            lload 2 /* count */
            l2i
            ireturn
        end local 2 // long count
        end local 1 // java.io.OutputStream output
        end local 0 // java.io.InputStream input
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0   input  Ljava/io/InputStream;
            0    4     1  output  Ljava/io/OutputStream;
            1    4     2   count  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      input   final
      output  final

  public static long copyLarge(java.io.InputStream, java.io.OutputStream);
    descriptor: (Ljava/io/InputStream;Ljava/io/OutputStream;)J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=2
        start local 0 // java.io.InputStream input
        start local 1 // java.io.OutputStream output
         0: .line 167
            sipush 4096
            newarray 8
            astore 2 /* buffer */
        start local 2 // byte[] buffer
         1: .line 168
            lconst_0
            lstore 3 /* count */
        start local 3 // long count
         2: .line 169
            iconst_0
            istore 5 /* n */
        start local 5 // int n
         3: .line 170
            goto 6
         4: .line 171
      StackMap locals: byte[] long int
      StackMap stack:
            aload 1 /* output */
            aload 2 /* buffer */
            iconst_0
            iload 5 /* n */
            invokevirtual java.io.OutputStream.write:([BII)V
         5: .line 172
            lload 3 /* count */
            iload 5 /* n */
            i2l
            ladd
            lstore 3 /* count */
         6: .line 170
      StackMap locals:
      StackMap stack:
            iconst_m1
            aload 0 /* input */
            aload 2 /* buffer */
            invokevirtual java.io.InputStream.read:([B)I
            dup
            istore 5 /* n */
            if_icmpne 4
         7: .line 174
            lload 3 /* count */
            lreturn
        end local 5 // int n
        end local 3 // long count
        end local 2 // byte[] buffer
        end local 1 // java.io.OutputStream output
        end local 0 // java.io.InputStream input
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0   input  Ljava/io/InputStream;
            0    8     1  output  Ljava/io/OutputStream;
            1    8     2  buffer  [B
            2    8     3   count  J
            3    8     5       n  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      input   final
      output  final

  public static int read(java.io.InputStream, byte[], int, int);
    descriptor: (Ljava/io/InputStream;[BII)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=7, args_size=4
        start local 0 // java.io.InputStream input
        start local 1 // byte[] buffer
        start local 2 // int offset
        start local 3 // int length
         0: .line 193
            iload 3 /* length */
            ifge 2
         1: .line 194
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Length must not be negative: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 3 /* length */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 196
      StackMap locals:
      StackMap stack:
            iload 3 /* length */
            istore 4 /* remaining */
        start local 4 // int remaining
         3: .line 197
            goto 9
         4: .line 198
      StackMap locals: int
      StackMap stack:
            iload 3 /* length */
            iload 4 /* remaining */
            isub
            istore 5 /* location */
        start local 5 // int location
         5: .line 199
            aload 0 /* input */
            aload 1 /* buffer */
            iload 2 /* offset */
            iload 5 /* location */
            iadd
            iload 4 /* remaining */
            invokevirtual java.io.InputStream.read:([BII)I
            istore 6 /* count */
        start local 6 // int count
         6: .line 200
            iconst_m1
            iload 6 /* count */
            if_icmpne 8
         7: .line 201
            goto 10
         8: .line 203
      StackMap locals: int int
      StackMap stack:
            iload 4 /* remaining */
            iload 6 /* count */
            isub
            istore 4 /* remaining */
        end local 6 // int count
        end local 5 // int location
         9: .line 197
      StackMap locals:
      StackMap stack:
            iload 4 /* remaining */
            ifgt 4
        10: .line 205
      StackMap locals:
      StackMap stack:
            iload 3 /* length */
            iload 4 /* remaining */
            isub
            ireturn
        end local 4 // int remaining
        end local 3 // int length
        end local 2 // int offset
        end local 1 // byte[] buffer
        end local 0 // java.io.InputStream input
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   11     0      input  Ljava/io/InputStream;
            0   11     1     buffer  [B
            0   11     2     offset  I
            0   11     3     length  I
            3   11     4  remaining  I
            5    9     5   location  I
            6    9     6      count  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      input   final
      buffer  final
      offset  final
      length  final

  public static void readFully(java.io.InputStream, byte[], int, int);
    descriptor: (Ljava/io/InputStream;[BII)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=5, args_size=4
        start local 0 // java.io.InputStream input
        start local 1 // byte[] buffer
        start local 2 // int offset
        start local 3 // int length
         0: .line 226
            aload 0 /* input */
            aload 1 /* buffer */
            iload 2 /* offset */
            iload 3 /* length */
            invokestatic org.apache.tomcat.util.http.fileupload.IOUtils.read:(Ljava/io/InputStream;[BII)I
            istore 4 /* actual */
        start local 4 // int actual
         1: .line 227
            iload 4 /* actual */
            iload 3 /* length */
            if_icmpeq 3
         2: .line 228
            new java.io.EOFException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Length to read: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 3 /* length */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " actual: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 4 /* actual */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 230
      StackMap locals: int
      StackMap stack:
            return
        end local 4 // int actual
        end local 3 // int length
        end local 2 // int offset
        end local 1 // byte[] buffer
        end local 0 // java.io.InputStream input
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0   input  Ljava/io/InputStream;
            0    4     1  buffer  [B
            0    4     2  offset  I
            0    4     3  length  I
            1    4     4  actual  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      input   final
      buffer  final
      offset  final
      length  final

  public static void readFully(java.io.InputStream, byte[]);
    descriptor: (Ljava/io/InputStream;[B)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // java.io.InputStream input
        start local 1 // byte[] buffer
         0: .line 247
            aload 0 /* input */
            aload 1 /* buffer */
            iconst_0
            aload 1 /* buffer */
            arraylength
            invokestatic org.apache.tomcat.util.http.fileupload.IOUtils.readFully:(Ljava/io/InputStream;[BII)V
         1: .line 248
            return
        end local 1 // byte[] buffer
        end local 0 // java.io.InputStream input
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0   input  Ljava/io/InputStream;
            0    2     1  buffer  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      input   final
      buffer  final
}
SourceFile: "IOUtils.java"