public final class com.google.common.io.ByteStreams
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.google.common.io.ByteStreams
  super_class: java.lang.Object
{
  private static final int BUFFER_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 8192

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

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

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

  private static final java.io.OutputStream NULL_OUTPUT_STREAM;
    descriptor: Ljava/io/OutputStream;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 635
            new com.google.common.io.ByteStreams$1
            dup
            invokespecial com.google.common.io.ByteStreams$1.<init>:()V
         1: .line 634
            putstatic com.google.common.io.ByteStreams.NULL_OUTPUT_STREAM:Ljava/io/OutputStream;
         2: .line 656
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static byte[] createBuffer();
    descriptor: ()[B
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 59
            sipush 8192
            newarray 8
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.google.common.io.ByteStreams this
         0: .line 91
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.google.common.io.ByteStreams this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/google/common/io/ByteStreams;

  public static long copy(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 from
        start local 1 // java.io.OutputStream to
         0: .line 104
            aload 0 /* from */
            invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 105
            aload 1 /* to */
            invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 106
            invokestatic com.google.common.io.ByteStreams.createBuffer:()[B
            astore 2 /* buf */
        start local 2 // byte[] buf
         3: .line 107
            lconst_0
            lstore 3 /* total */
        start local 3 // long total
         4: .line 109
      StackMap locals: byte[] long
      StackMap stack:
            aload 0 /* from */
            aload 2 /* buf */
            invokevirtual java.io.InputStream.read:([B)I
            istore 5 /* r */
        start local 5 // int r
         5: .line 110
            iload 5 /* r */
            iconst_m1
            if_icmpne 7
         6: .line 111
            goto 10
         7: .line 113
      StackMap locals: int
      StackMap stack:
            aload 1 /* to */
            aload 2 /* buf */
            iconst_0
            iload 5 /* r */
            invokevirtual java.io.OutputStream.write:([BII)V
         8: .line 114
            lload 3 /* total */
            iload 5 /* r */
            i2l
            ladd
            lstore 3 /* total */
        end local 5 // int r
         9: .line 108
            goto 4
        10: .line 116
      StackMap locals:
      StackMap stack:
            lload 3 /* total */
            lreturn
        end local 3 // long total
        end local 2 // byte[] buf
        end local 1 // java.io.OutputStream to
        end local 0 // java.io.InputStream from
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   11     0   from  Ljava/io/InputStream;
            0   11     1     to  Ljava/io/OutputStream;
            3   11     2    buf  [B
            4   11     3  total  J
            5    9     5      r  I
    Exceptions:
      throws java.io.IOException
    RuntimeInvisibleAnnotations: 
      com.google.errorprone.annotations.CanIgnoreReturnValue()
    MethodParameters:
      Name  Flags
      from  
      to    

  public static long copy(java.nio.channels.ReadableByteChannel, java.nio.channels.WritableByteChannel);
    descriptor: (Ljava/nio/channels/ReadableByteChannel;Ljava/nio/channels/WritableByteChannel;)J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=9, args_size=2
        start local 0 // java.nio.channels.ReadableByteChannel from
        start local 1 // java.nio.channels.WritableByteChannel to
         0: .line 130
            aload 0 /* from */
            invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 131
            aload 1 /* to */
            invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 132
            aload 0 /* from */
            instanceof java.nio.channels.FileChannel
            ifeq 12
         3: .line 133
            aload 0 /* from */
            checkcast java.nio.channels.FileChannel
            astore 2 /* sourceChannel */
        start local 2 // java.nio.channels.FileChannel sourceChannel
         4: .line 134
            aload 2 /* sourceChannel */
            invokevirtual java.nio.channels.FileChannel.position:()J
            lstore 3 /* oldPosition */
        start local 3 // long oldPosition
         5: .line 135
            lload 3 /* oldPosition */
            lstore 5 /* position */
        start local 5 // long position
         6: .line 138
      StackMap locals: java.nio.channels.FileChannel long long
      StackMap stack:
            aload 2 /* sourceChannel */
            lload 5 /* position */
            ldc 524288
            aload 1 /* to */
            invokevirtual java.nio.channels.FileChannel.transferTo:(JJLjava/nio/channels/WritableByteChannel;)J
            lstore 7 /* copied */
        start local 7 // long copied
         7: .line 139
            lload 5 /* position */
            lload 7 /* copied */
            ladd
            lstore 5 /* position */
         8: .line 140
            aload 2 /* sourceChannel */
            lload 5 /* position */
            invokevirtual java.nio.channels.FileChannel.position:(J)Ljava/nio/channels/FileChannel;
            pop
         9: .line 141
            lload 7 /* copied */
            lconst_0
            lcmp
            ifgt 6
            lload 5 /* position */
            aload 2 /* sourceChannel */
            invokevirtual java.nio.channels.FileChannel.size:()J
        10: .line 137
            lcmp
            iflt 6
        11: .line 142
            lload 5 /* position */
            lload 3 /* oldPosition */
            lsub
            lreturn
        end local 7 // long copied
        end local 5 // long position
        end local 3 // long oldPosition
        end local 2 // java.nio.channels.FileChannel sourceChannel
        12: .line 145
      StackMap locals:
      StackMap stack:
            invokestatic com.google.common.io.ByteStreams.createBuffer:()[B
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
            astore 2 /* buf */
        start local 2 // java.nio.ByteBuffer buf
        13: .line 146
            lconst_0
            lstore 3 /* total */
        start local 3 // long total
        14: .line 147
            goto 20
        15: .line 148
      StackMap locals: java.nio.ByteBuffer long
      StackMap stack:
            aload 2 /* buf */
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
            pop
        16: .line 149
            goto 18
        17: .line 150
      StackMap locals:
      StackMap stack:
            lload 3 /* total */
            aload 1 /* to */
            aload 2 /* buf */
            invokeinterface java.nio.channels.WritableByteChannel.write:(Ljava/nio/ByteBuffer;)I
            i2l
            ladd
            lstore 3 /* total */
        18: .line 149
      StackMap locals:
      StackMap stack:
            aload 2 /* buf */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 17
        19: .line 152
            aload 2 /* buf */
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
            pop
        20: .line 147
      StackMap locals:
      StackMap stack:
            aload 0 /* from */
            aload 2 /* buf */
            invokeinterface java.nio.channels.ReadableByteChannel.read:(Ljava/nio/ByteBuffer;)I
            iconst_m1
            if_icmpne 15
        21: .line 154
            lload 3 /* total */
            lreturn
        end local 3 // long total
        end local 2 // java.nio.ByteBuffer buf
        end local 1 // java.nio.channels.WritableByteChannel to
        end local 0 // java.nio.channels.ReadableByteChannel from
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   22     0           from  Ljava/nio/channels/ReadableByteChannel;
            0   22     1             to  Ljava/nio/channels/WritableByteChannel;
            4   12     2  sourceChannel  Ljava/nio/channels/FileChannel;
            5   12     3    oldPosition  J
            6   12     5       position  J
            7   12     7         copied  J
           13   22     2            buf  Ljava/nio/ByteBuffer;
           14   22     3          total  J
    Exceptions:
      throws java.io.IOException
    RuntimeInvisibleAnnotations: 
      com.google.errorprone.annotations.CanIgnoreReturnValue()
    MethodParameters:
      Name  Flags
      from  
      to    

  private static byte[] toByteArrayInternal(java.io.InputStream, java.util.Deque<byte[]>, );
    descriptor: (Ljava/io/InputStream;Ljava/util/Deque;I)[B
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=7, args_size=3
        start local 0 // java.io.InputStream in
        start local 1 // java.util.Deque bufs
        start local 2 // int totalLen
         0: .line 173
            sipush 8192
            istore 3 /* bufSize */
        start local 3 // int bufSize
         1: .line 174
            goto 13
         2: .line 176
      StackMap locals: int
      StackMap stack:
            iload 3 /* bufSize */
            ldc 2147483639
            iload 2 /* totalLen */
            isub
            invokestatic java.lang.Math.min:(II)I
            newarray 8
            astore 4 /* buf */
        start local 4 // byte[] buf
         3: .line 177
            aload 1 /* bufs */
            aload 4 /* buf */
            invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
            pop
         4: .line 178
            iconst_0
            istore 5 /* off */
        start local 5 // int off
         5: .line 179
            goto 11
         6: .line 181
      StackMap locals: byte[] int
      StackMap stack:
            aload 0 /* in */
            aload 4 /* buf */
            iload 5 /* off */
            aload 4 /* buf */
            arraylength
            iload 5 /* off */
            isub
            invokevirtual java.io.InputStream.read:([BII)I
            istore 6 /* r */
        start local 6 // int r
         7: .line 182
            iload 6 /* r */
            iconst_m1
            if_icmpne 9
         8: .line 183
            aload 1 /* bufs */
            iload 2 /* totalLen */
            invokestatic com.google.common.io.ByteStreams.combineBuffers:(Ljava/util/Deque;I)[B
            areturn
         9: .line 185
      StackMap locals: int
      StackMap stack:
            iload 5 /* off */
            iload 6 /* r */
            iadd
            istore 5 /* off */
        10: .line 186
            iload 2 /* totalLen */
            iload 6 /* r */
            iadd
            istore 2 /* totalLen */
        end local 6 // int r
        11: .line 179
      StackMap locals:
      StackMap stack:
            iload 5 /* off */
            aload 4 /* buf */
            arraylength
            if_icmplt 6
        end local 5 // int off
        end local 4 // byte[] buf
        12: .line 175
            iload 3 /* bufSize */
            iconst_2
            invokestatic com.google.common.math.IntMath.saturatedMultiply:(II)I
            istore 3 /* bufSize */
        13: .line 174
      StackMap locals:
      StackMap stack:
            iload 2 /* totalLen */
            ldc 2147483639
        14: .line 173
            if_icmplt 2
        end local 3 // int bufSize
        15: .line 191
            aload 0 /* in */
            invokevirtual java.io.InputStream.read:()I
            iconst_m1
            if_icmpne 17
        16: .line 193
            aload 1 /* bufs */
            ldc 2147483639
            invokestatic com.google.common.io.ByteStreams.combineBuffers:(Ljava/util/Deque;I)[B
            areturn
        17: .line 195
      StackMap locals:
      StackMap stack:
            new java.lang.OutOfMemoryError
            dup
            ldc "input is too large to fit in a byte array"
            invokespecial java.lang.OutOfMemoryError.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // int totalLen
        end local 1 // java.util.Deque bufs
        end local 0 // java.io.InputStream in
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   18     0        in  Ljava/io/InputStream;
            0   18     1      bufs  Ljava/util/Deque<[B>;
            0   18     2  totalLen  I
            1   15     3   bufSize  I
            3   12     4       buf  [B
            5   12     5       off  I
            7   11     6         r  I
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/io/InputStream;Ljava/util/Deque<[B>;I)[B
    MethodParameters:
          Name  Flags
      in        
      bufs      
      totalLen  

  private static byte[] combineBuffers(java.util.Deque<byte[]>, );
    descriptor: (Ljava/util/Deque;I)[B
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // java.util.Deque bufs
        start local 1 // int totalLen
         0: .line 200
            iload 1 /* totalLen */
            newarray 8
            astore 2 /* result */
        start local 2 // byte[] result
         1: .line 201
            iload 1 /* totalLen */
            istore 3 /* remaining */
        start local 3 // int remaining
         2: .line 202
            goto 8
         3: .line 203
      StackMap locals: byte[] int
      StackMap stack:
            aload 0 /* bufs */
            invokeinterface java.util.Deque.removeFirst:()Ljava/lang/Object;
            checkcast byte[]
            astore 4 /* buf */
        start local 4 // byte[] buf
         4: .line 204
            iload 3 /* remaining */
            aload 4 /* buf */
            arraylength
            invokestatic java.lang.Math.min:(II)I
            istore 5 /* bytesToCopy */
        start local 5 // int bytesToCopy
         5: .line 205
            iload 1 /* totalLen */
            iload 3 /* remaining */
            isub
            istore 6 /* resultOffset */
        start local 6 // int resultOffset
         6: .line 206
            aload 4 /* buf */
            iconst_0
            aload 2 /* result */
            iload 6 /* resultOffset */
            iload 5 /* bytesToCopy */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         7: .line 207
            iload 3 /* remaining */
            iload 5 /* bytesToCopy */
            isub
            istore 3 /* remaining */
        end local 6 // int resultOffset
        end local 5 // int bytesToCopy
        end local 4 // byte[] buf
         8: .line 202
      StackMap locals:
      StackMap stack:
            iload 3 /* remaining */
            ifgt 3
         9: .line 209
            aload 2 /* result */
            areturn
        end local 3 // int remaining
        end local 2 // byte[] result
        end local 1 // int totalLen
        end local 0 // java.util.Deque bufs
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   10     0          bufs  Ljava/util/Deque<[B>;
            0   10     1      totalLen  I
            1   10     2        result  [B
            2   10     3     remaining  I
            4    8     4           buf  [B
            5    8     5   bytesToCopy  I
            6    8     6  resultOffset  I
    Signature: (Ljava/util/Deque<[B>;I)[B
    MethodParameters:
          Name  Flags
      bufs      
      totalLen  

  public static byte[] toByteArray(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)[B
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.io.InputStream in
         0: .line 220
            aload 0 /* in */
            invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 221
            aload 0 /* in */
            new java.util.ArrayDeque
            dup
            bipush 20
            invokespecial java.util.ArrayDeque.<init>:(I)V
            iconst_0
            invokestatic com.google.common.io.ByteStreams.toByteArrayInternal:(Ljava/io/InputStream;Ljava/util/Deque;I)[B
            areturn
        end local 0 // java.io.InputStream in
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0    in  Ljava/io/InputStream;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      in    

  static byte[] toByteArray(java.io.InputStream, long);
    descriptor: (Ljava/io/InputStream;J)[B
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=7, args_size=2
        start local 0 // java.io.InputStream in
        start local 1 // long expectedSize
         0: .line 230
            lload 1 /* expectedSize */
            lconst_0
            lcmp
            iflt 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ldc "expectedSize (%s) must be non-negative"
            lload 1 /* expectedSize */
            invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;J)V
         3: .line 231
            lload 1 /* expectedSize */
            ldc 2147483639
            lcmp
            ifle 5
         4: .line 232
            new java.lang.OutOfMemoryError
            dup
            new java.lang.StringBuilder
            dup
            lload 1 /* expectedSize */
            invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " bytes is too large to fit in a byte array"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.OutOfMemoryError.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 235
      StackMap locals:
      StackMap stack:
            lload 1 /* expectedSize */
            l2i
            newarray 8
            astore 3 /* bytes */
        start local 3 // byte[] bytes
         6: .line 236
            lload 1 /* expectedSize */
            l2i
            istore 4 /* remaining */
        start local 4 // int remaining
         7: .line 238
            goto 13
         8: .line 239
      StackMap locals: byte[] int
      StackMap stack:
            lload 1 /* expectedSize */
            l2i
            iload 4 /* remaining */
            isub
            istore 5 /* off */
        start local 5 // int off
         9: .line 240
            aload 0 /* in */
            aload 3 /* bytes */
            iload 5 /* off */
            iload 4 /* remaining */
            invokevirtual java.io.InputStream.read:([BII)I
            istore 6 /* read */
        start local 6 // int read
        10: .line 241
            iload 6 /* read */
            iconst_m1
            if_icmpne 12
        11: .line 244
            aload 3 /* bytes */
            iload 5 /* off */
            invokestatic java.util.Arrays.copyOf:([BI)[B
            areturn
        12: .line 246
      StackMap locals: int int
      StackMap stack:
            iload 4 /* remaining */
            iload 6 /* read */
            isub
            istore 4 /* remaining */
        end local 6 // int read
        end local 5 // int off
        13: .line 238
      StackMap locals:
      StackMap stack:
            iload 4 /* remaining */
            ifgt 8
        14: .line 250
            aload 0 /* in */
            invokevirtual java.io.InputStream.read:()I
            istore 5 /* b */
        start local 5 // int b
        15: .line 251
            iload 5 /* b */
            iconst_m1
            if_icmpne 17
        16: .line 252
            aload 3 /* bytes */
            areturn
        17: .line 256
      StackMap locals: int
      StackMap stack:
            new java.util.ArrayDeque
            dup
            bipush 22
            invokespecial java.util.ArrayDeque.<init>:(I)V
            astore 6 /* bufs */
        start local 6 // java.util.Deque bufs
        18: .line 257
            aload 6 /* bufs */
            aload 3 /* bytes */
            invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
            pop
        19: .line 258
            aload 6 /* bufs */
            iconst_1
            newarray 8
            dup
            iconst_0
            iload 5 /* b */
            i2b
            bastore
            invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
            pop
        20: .line 259
            aload 0 /* in */
            aload 6 /* bufs */
            aload 3 /* bytes */
            arraylength
            iconst_1
            iadd
            invokestatic com.google.common.io.ByteStreams.toByteArrayInternal:(Ljava/io/InputStream;Ljava/util/Deque;I)[B
            areturn
        end local 6 // java.util.Deque bufs
        end local 5 // int b
        end local 4 // int remaining
        end local 3 // byte[] bytes
        end local 1 // long expectedSize
        end local 0 // java.io.InputStream in
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   21     0            in  Ljava/io/InputStream;
            0   21     1  expectedSize  J
            6   21     3         bytes  [B
            7   21     4     remaining  I
            9   13     5           off  I
           10   13     6          read  I
           15   21     5             b  I
           18   21     6          bufs  Ljava/util/Deque<[B>;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
              Name  Flags
      in            
      expectedSize  

  public static long exhaust(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // java.io.InputStream in
         0: .line 270
            lconst_0
            lstore 1 /* total */
        start local 1 // long total
         1: .line 272
            invokestatic com.google.common.io.ByteStreams.createBuffer:()[B
            astore 5 /* buf */
        start local 5 // byte[] buf
         2: .line 273
            goto 4
        start local 3 // long read
         3: .line 274
      StackMap locals: long long byte[]
      StackMap stack:
            lload 1 /* total */
            lload 3 /* read */
            ladd
            lstore 1 /* total */
        end local 3 // long read
         4: .line 273
      StackMap locals: java.io.InputStream long top top byte[]
      StackMap stack:
            aload 0 /* in */
            aload 5 /* buf */
            invokevirtual java.io.InputStream.read:([B)I
            i2l
            dup2
            lstore 3 /* read */
        start local 3 // long read
         5: ldc -1
            lcmp
            ifne 3
         6: .line 276
            lload 1 /* total */
            lreturn
        end local 5 // byte[] buf
        end local 3 // long read
        end local 1 // long total
        end local 0 // java.io.InputStream in
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    7     0     in  Ljava/io/InputStream;
            1    7     1  total  J
            3    4     3   read  J
            5    7     3   read  J
            2    7     5    buf  [B
    Exceptions:
      throws java.io.IOException
    RuntimeInvisibleAnnotations: 
      com.google.errorprone.annotations.CanIgnoreReturnValue()
    MethodParameters:
      Name  Flags
      in    

  public static com.google.common.io.ByteArrayDataInput newDataInput(byte[]);
    descriptor: ([B)Lcom/google/common/io/ByteArrayDataInput;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // byte[] bytes
         0: .line 284
            new java.io.ByteArrayInputStream
            dup
            aload 0 /* bytes */
            invokespecial java.io.ByteArrayInputStream.<init>:([B)V
            invokestatic com.google.common.io.ByteStreams.newDataInput:(Ljava/io/ByteArrayInputStream;)Lcom/google/common/io/ByteArrayDataInput;
            areturn
        end local 0 // byte[] bytes
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0  bytes  [B
    MethodParameters:
       Name  Flags
      bytes  

  public static com.google.common.io.ByteArrayDataInput newDataInput(byte[], int);
    descriptor: ([BI)Lcom/google/common/io/ByteArrayDataInput;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // byte[] bytes
        start local 1 // int start
         0: .line 295
            iload 1 /* start */
            aload 0 /* bytes */
            arraylength
            invokestatic com.google.common.base.Preconditions.checkPositionIndex:(II)I
            pop
         1: .line 296
            new java.io.ByteArrayInputStream
            dup
            aload 0 /* bytes */
            iload 1 /* start */
            aload 0 /* bytes */
            arraylength
            iload 1 /* start */
            isub
            invokespecial java.io.ByteArrayInputStream.<init>:([BII)V
            invokestatic com.google.common.io.ByteStreams.newDataInput:(Ljava/io/ByteArrayInputStream;)Lcom/google/common/io/ByteArrayDataInput;
            areturn
        end local 1 // int start
        end local 0 // byte[] bytes
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0  bytes  [B
            0    2     1  start  I
    MethodParameters:
       Name  Flags
      bytes  
      start  

  public static com.google.common.io.ByteArrayDataInput newDataInput(java.io.ByteArrayInputStream);
    descriptor: (Ljava/io/ByteArrayInputStream;)Lcom/google/common/io/ByteArrayDataInput;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.io.ByteArrayInputStream byteArrayInputStream
         0: .line 307
            new com.google.common.io.ByteStreams$ByteArrayDataInputStream
            dup
            aload 0 /* byteArrayInputStream */
            invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.io.ByteArrayInputStream
            invokespecial com.google.common.io.ByteStreams$ByteArrayDataInputStream.<init>:(Ljava/io/ByteArrayInputStream;)V
            areturn
        end local 0 // java.io.ByteArrayInputStream byteArrayInputStream
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0    1     0  byteArrayInputStream  Ljava/io/ByteArrayInputStream;
    MethodParameters:
                      Name  Flags
      byteArrayInputStream  

  public static com.google.common.io.ByteArrayDataOutput newDataOutput();
    descriptor: ()Lcom/google/common/io/ByteArrayDataOutput;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 457
            new java.io.ByteArrayOutputStream
            dup
            invokespecial java.io.ByteArrayOutputStream.<init>:()V
            invokestatic com.google.common.io.ByteStreams.newDataOutput:(Ljava/io/ByteArrayOutputStream;)Lcom/google/common/io/ByteArrayDataOutput;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static com.google.common.io.ByteArrayDataOutput newDataOutput(int);
    descriptor: (I)Lcom/google/common/io/ByteArrayDataOutput;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=7, locals=1, args_size=1
        start local 0 // int size
         0: .line 469
            iload 0 /* size */
            ifge 2
         1: .line 470
            new java.lang.IllegalArgumentException
            dup
            ldc "Invalid size: %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 0 /* size */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 472
      StackMap locals:
      StackMap stack:
            new java.io.ByteArrayOutputStream
            dup
            iload 0 /* size */
            invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
            invokestatic com.google.common.io.ByteStreams.newDataOutput:(Ljava/io/ByteArrayOutputStream;)Lcom/google/common/io/ByteArrayDataOutput;
            areturn
        end local 0 // int size
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  size  I
    MethodParameters:
      Name  Flags
      size  

  public static com.google.common.io.ByteArrayDataOutput newDataOutput(java.io.ByteArrayOutputStream);
    descriptor: (Ljava/io/ByteArrayOutputStream;)Lcom/google/common/io/ByteArrayDataOutput;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.io.ByteArrayOutputStream byteArrayOutputSteam
         0: .line 488
            new com.google.common.io.ByteStreams$ByteArrayDataOutputStream
            dup
            aload 0 /* byteArrayOutputSteam */
            invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.io.ByteArrayOutputStream
            invokespecial com.google.common.io.ByteStreams$ByteArrayDataOutputStream.<init>:(Ljava/io/ByteArrayOutputStream;)V
            areturn
        end local 0 // java.io.ByteArrayOutputStream byteArrayOutputSteam
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0    1     0  byteArrayOutputSteam  Ljava/io/ByteArrayOutputStream;
    MethodParameters:
                      Name  Flags
      byteArrayOutputSteam  

  public static java.io.OutputStream nullOutputStream();
    descriptor: ()Ljava/io/OutputStream;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 664
            getstatic com.google.common.io.ByteStreams.NULL_OUTPUT_STREAM:Ljava/io/OutputStream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static java.io.InputStream limit(java.io.InputStream, long);
    descriptor: (Ljava/io/InputStream;J)Ljava/io/InputStream;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // java.io.InputStream in
        start local 1 // long limit
         0: .line 676
            new com.google.common.io.ByteStreams$LimitedInputStream
            dup
            aload 0 /* in */
            lload 1 /* limit */
            invokespecial com.google.common.io.ByteStreams$LimitedInputStream.<init>:(Ljava/io/InputStream;J)V
            areturn
        end local 1 // long limit
        end local 0 // java.io.InputStream in
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0     in  Ljava/io/InputStream;
            0    1     1  limit  J
    MethodParameters:
       Name  Flags
      in     
      limit  

  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 in
        start local 1 // byte[] b
         0: .line 762
            aload 0 /* in */
            aload 1 /* b */
            iconst_0
            aload 1 /* b */
            arraylength
            invokestatic com.google.common.io.ByteStreams.readFully:(Ljava/io/InputStream;[BII)V
         1: .line 763
            return
        end local 1 // byte[] b
        end local 0 // java.io.InputStream in
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0    in  Ljava/io/InputStream;
            0    2     1     b  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      in    
      b     

  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 in
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 778
            aload 0 /* in */
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            invokestatic com.google.common.io.ByteStreams.read:(Ljava/io/InputStream;[BII)I
            istore 4 /* read */
        start local 4 // int read
         1: .line 779
            iload 4 /* read */
            iload 3 /* len */
            if_icmpeq 5
         2: .line 780
            new java.io.EOFException
            dup
         3: .line 781
            new java.lang.StringBuilder
            dup
            ldc "reached end of stream after reading "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 4 /* read */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " bytes; "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 3 /* len */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " bytes expected"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         4: .line 780
            invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 783
      StackMap locals: int
      StackMap stack:
            return
        end local 4 // int read
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // java.io.InputStream in
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0    in  Ljava/io/InputStream;
            0    6     1     b  [B
            0    6     2   off  I
            0    6     3   len  I
            1    6     4  read  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      in    
      b     
      off   
      len   

  public static void skipFully(java.io.InputStream, long);
    descriptor: (Ljava/io/InputStream;J)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // java.io.InputStream in
        start local 1 // long n
         0: .line 795
            aload 0 /* in */
            lload 1 /* n */
            invokestatic com.google.common.io.ByteStreams.skipUpTo:(Ljava/io/InputStream;J)J
            lstore 3 /* skipped */
        start local 3 // long skipped
         1: .line 796
            lload 3 /* skipped */
            lload 1 /* n */
            lcmp
            ifge 5
         2: .line 797
            new java.io.EOFException
            dup
         3: .line 798
            new java.lang.StringBuilder
            dup
            ldc "reached end of stream after skipping "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            lload 3 /* skipped */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " bytes; "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            lload 1 /* n */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " bytes expected"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         4: .line 797
            invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 800
      StackMap locals: long
      StackMap stack:
            return
        end local 3 // long skipped
        end local 1 // long n
        end local 0 // java.io.InputStream in
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0       in  Ljava/io/InputStream;
            0    6     1        n  J
            1    6     3  skipped  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      in    
      n     

  static long skipUpTo(java.io.InputStream, long);
    descriptor: (Ljava/io/InputStream;J)J
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=11, args_size=2
        start local 0 // java.io.InputStream in
        start local 1 // long n
         0: .line 808
            lconst_0
            lstore 3 /* totalSkipped */
        start local 3 // long totalSkipped
         1: .line 809
            invokestatic com.google.common.io.ByteStreams.createBuffer:()[B
            astore 5 /* buf */
        start local 5 // byte[] buf
         2: .line 811
            goto 10
         3: .line 812
      StackMap locals: long byte[]
      StackMap stack:
            lload 1 /* n */
            lload 3 /* totalSkipped */
            lsub
            lstore 6 /* remaining */
        start local 6 // long remaining
         4: .line 813
            aload 0 /* in */
            lload 6 /* remaining */
            invokestatic com.google.common.io.ByteStreams.skipSafely:(Ljava/io/InputStream;J)J
            lstore 8 /* skipped */
        start local 8 // long skipped
         5: .line 815
            lload 8 /* skipped */
            lconst_0
            lcmp
            ifne 9
         6: .line 818
            lload 6 /* remaining */
            aload 5 /* buf */
            arraylength
            i2l
            invokestatic java.lang.Math.min:(JJ)J
            l2i
            istore 10 /* skip */
        start local 10 // int skip
         7: .line 819
            aload 0 /* in */
            aload 5 /* buf */
            iconst_0
            iload 10 /* skip */
            invokevirtual java.io.InputStream.read:([BII)I
            i2l
            dup2
            lstore 8 /* skipped */
            ldc -1
            lcmp
            ifne 9
         8: .line 821
            goto 11
        end local 10 // int skip
         9: .line 825
      StackMap locals: long long
      StackMap stack:
            lload 3 /* totalSkipped */
            lload 8 /* skipped */
            ladd
            lstore 3 /* totalSkipped */
        end local 8 // long skipped
        end local 6 // long remaining
        10: .line 811
      StackMap locals:
      StackMap stack:
            lload 3 /* totalSkipped */
            lload 1 /* n */
            lcmp
            iflt 3
        11: .line 828
      StackMap locals:
      StackMap stack:
            lload 3 /* totalSkipped */
            lreturn
        end local 5 // byte[] buf
        end local 3 // long totalSkipped
        end local 1 // long n
        end local 0 // java.io.InputStream in
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   12     0            in  Ljava/io/InputStream;
            0   12     1             n  J
            1   12     3  totalSkipped  J
            2   12     5           buf  [B
            4   10     6     remaining  J
            5   10     8       skipped  J
            7    9    10          skip  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      in    
      n     final

  private static long skipSafely(java.io.InputStream, long);
    descriptor: (Ljava/io/InputStream;J)J
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // java.io.InputStream in
        start local 1 // long n
         0: .line 839
            aload 0 /* in */
            invokevirtual java.io.InputStream.available:()I
            istore 3 /* available */
        start local 3 // int available
         1: .line 840
            iload 3 /* available */
            ifne 2
            lconst_0
            goto 3
      StackMap locals: int
      StackMap stack:
         2: aload 0 /* in */
            iload 3 /* available */
            i2l
            lload 1 /* n */
            invokestatic java.lang.Math.min:(JJ)J
            invokevirtual java.io.InputStream.skip:(J)J
      StackMap locals:
      StackMap stack: long
         3: lreturn
        end local 3 // int available
        end local 1 // long n
        end local 0 // java.io.InputStream in
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0         in  Ljava/io/InputStream;
            0    4     1          n  J
            1    4     3  available  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      in    
      n     

  public static <T> T readBytes(java.io.InputStream, com.google.common.io.ByteProcessor<T>);
    descriptor: (Ljava/io/InputStream;Lcom/google/common/io/ByteProcessor;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // java.io.InputStream input
        start local 1 // com.google.common.io.ByteProcessor processor
         0: .line 854
            aload 0 /* input */
            invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 855
            aload 1 /* processor */
            invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 857
            invokestatic com.google.common.io.ByteStreams.createBuffer:()[B
            astore 2 /* buf */
        start local 2 // byte[] buf
         3: .line 860
      StackMap locals: byte[]
      StackMap stack:
            aload 0 /* input */
            aload 2 /* buf */
            invokevirtual java.io.InputStream.read:([B)I
            istore 3 /* read */
        start local 3 // int read
         4: .line 861
            iload 3 /* read */
            iconst_m1
            if_icmpeq 5
            aload 1 /* processor */
            aload 2 /* buf */
            iconst_0
            iload 3 /* read */
            invokeinterface com.google.common.io.ByteProcessor.processBytes:([BII)Z
            ifne 3
         5: .line 862
      StackMap locals: int
      StackMap stack:
            aload 1 /* processor */
            invokeinterface com.google.common.io.ByteProcessor.getResult:()Ljava/lang/Object;
            areturn
        end local 3 // int read
        end local 2 // byte[] buf
        end local 1 // com.google.common.io.ByteProcessor processor
        end local 0 // java.io.InputStream input
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0      input  Ljava/io/InputStream;
            0    6     1  processor  Lcom/google/common/io/ByteProcessor<TT;>;
            3    6     2        buf  [B
            4    6     3       read  I
    Exceptions:
      throws java.io.IOException
    Signature: <T:Ljava/lang/Object;>(Ljava/io/InputStream;Lcom/google/common/io/ByteProcessor<TT;>;)TT;
    RuntimeInvisibleAnnotations: 
      com.google.errorprone.annotations.CanIgnoreReturnValue()
    MethodParameters:
           Name  Flags
      input      
      processor  

  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=6, args_size=4
        start local 0 // java.io.InputStream in
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 891
            aload 0 /* in */
            invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 892
            aload 1 /* b */
            invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 893
            iload 3 /* len */
            ifge 4
         3: .line 894
            new java.lang.IndexOutOfBoundsException
            dup
            ldc "len is negative"
            invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 896
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 4 /* total */
        start local 4 // int total
         5: .line 897
            goto 10
         6: .line 898
      StackMap locals: int
      StackMap stack:
            aload 0 /* in */
            aload 1 /* b */
            iload 2 /* off */
            iload 4 /* total */
            iadd
            iload 3 /* len */
            iload 4 /* total */
            isub
            invokevirtual java.io.InputStream.read:([BII)I
            istore 5 /* result */
        start local 5 // int result
         7: .line 899
            iload 5 /* result */
            iconst_m1
            if_icmpne 9
         8: .line 900
            goto 11
         9: .line 902
      StackMap locals: int
      StackMap stack:
            iload 4 /* total */
            iload 5 /* result */
            iadd
            istore 4 /* total */
        end local 5 // int result
        10: .line 897
      StackMap locals:
      StackMap stack:
            iload 4 /* total */
            iload 3 /* len */
            if_icmplt 6
        11: .line 904
      StackMap locals:
      StackMap stack:
            iload 4 /* total */
            ireturn
        end local 4 // int total
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // java.io.InputStream in
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   12     0      in  Ljava/io/InputStream;
            0   12     1       b  [B
            0   12     2     off  I
            0   12     3     len  I
            5   12     4   total  I
            7   10     5  result  I
    Exceptions:
      throws java.io.IOException
    RuntimeInvisibleAnnotations: 
      com.google.errorprone.annotations.CanIgnoreReturnValue()
    MethodParameters:
      Name  Flags
      in    
      b     
      off   
      len   
}
SourceFile: "ByteStreams.java"
NestMembers:
  com.google.common.io.ByteStreams$1  com.google.common.io.ByteStreams$ByteArrayDataInputStream  com.google.common.io.ByteStreams$ByteArrayDataOutputStream  com.google.common.io.ByteStreams$LimitedInputStream
InnerClasses:
  com.google.common.io.ByteStreams$1
  private ByteArrayDataInputStream = com.google.common.io.ByteStreams$ByteArrayDataInputStream of com.google.common.io.ByteStreams
  private ByteArrayDataOutputStream = com.google.common.io.ByteStreams$ByteArrayDataOutputStream of com.google.common.io.ByteStreams
  private final LimitedInputStream = com.google.common.io.ByteStreams$LimitedInputStream of com.google.common.io.ByteStreams
    RuntimeInvisibleAnnotations: 
      com.google.common.annotations.Beta()
      com.google.common.annotations.GwtIncompatible()