final class com.google.common.io.ByteStreams$LimitedInputStream extends java.io.FilterInputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.google.common.io.ByteStreams$LimitedInputStream
  super_class: java.io.FilterInputStream
{
  private long left;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private long mark;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  void <init>(java.io.InputStream, long);
    descriptor: (Ljava/io/InputStream;J)V
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // com.google.common.io.ByteStreams$LimitedInputStream this
        start local 1 // java.io.InputStream in
        start local 2 // long limit
         0: .line 685
            aload 0 /* this */
            aload 1 /* in */
            invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
         1: .line 682
            aload 0 /* this */
            ldc -1
            putfield com.google.common.io.ByteStreams$LimitedInputStream.mark:J
         2: .line 686
            aload 1 /* in */
            invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         3: .line 687
            lload 2 /* limit */
            lconst_0
            lcmp
            iflt 4
            iconst_1
            goto 5
      StackMap locals: com.google.common.io.ByteStreams$LimitedInputStream java.io.InputStream long
      StackMap stack:
         4: iconst_0
      StackMap locals:
      StackMap stack: int
         5: ldc "limit must be non-negative"
            invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/Object;)V
         6: .line 688
            aload 0 /* this */
            lload 2 /* limit */
            putfield com.google.common.io.ByteStreams$LimitedInputStream.left:J
         7: .line 689
            return
        end local 2 // long limit
        end local 1 // java.io.InputStream in
        end local 0 // com.google.common.io.ByteStreams$LimitedInputStream this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    8     0   this  Lcom/google/common/io/ByteStreams$LimitedInputStream;
            0    8     1     in  Ljava/io/InputStream;
            0    8     2  limit  J
    MethodParameters:
       Name  Flags
      in     
      limit  

  public int available();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // com.google.common.io.ByteStreams$LimitedInputStream this
         0: .line 693
            aload 0 /* this */
            getfield com.google.common.io.ByteStreams$LimitedInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.available:()I
            i2l
            aload 0 /* this */
            getfield com.google.common.io.ByteStreams$LimitedInputStream.left:J
            invokestatic java.lang.Math.min:(JJ)J
            l2i
            ireturn
        end local 0 // com.google.common.io.ByteStreams$LimitedInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/google/common/io/ByteStreams$LimitedInputStream;
    Exceptions:
      throws java.io.IOException

  public synchronized void mark(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.google.common.io.ByteStreams$LimitedInputStream this
        start local 1 // int readLimit
         0: .line 699
            aload 0 /* this */
            getfield com.google.common.io.ByteStreams$LimitedInputStream.in:Ljava/io/InputStream;
            iload 1 /* readLimit */
            invokevirtual java.io.InputStream.mark:(I)V
         1: .line 700
            aload 0 /* this */
            aload 0 /* this */
            getfield com.google.common.io.ByteStreams$LimitedInputStream.left:J
            putfield com.google.common.io.ByteStreams$LimitedInputStream.mark:J
         2: .line 701
            return
        end local 1 // int readLimit
        end local 0 // com.google.common.io.ByteStreams$LimitedInputStream this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lcom/google/common/io/ByteStreams$LimitedInputStream;
            0    3     1  readLimit  I
    MethodParameters:
           Name  Flags
      readLimit  

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // com.google.common.io.ByteStreams$LimitedInputStream this
         0: .line 705
            aload 0 /* this */
            getfield com.google.common.io.ByteStreams$LimitedInputStream.left:J
            lconst_0
            lcmp
            ifne 2
         1: .line 706
            iconst_m1
            ireturn
         2: .line 709
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.google.common.io.ByteStreams$LimitedInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            istore 1 /* result */
        start local 1 // int result
         3: .line 710
            iload 1 /* result */
            iconst_m1
            if_icmpeq 5
         4: .line 711
            aload 0 /* this */
            dup
            getfield com.google.common.io.ByteStreams$LimitedInputStream.left:J
            lconst_1
            lsub
            putfield com.google.common.io.ByteStreams$LimitedInputStream.left:J
         5: .line 713
      StackMap locals: int
      StackMap stack:
            iload 1 /* result */
            ireturn
        end local 1 // int result
        end local 0 // com.google.common.io.ByteStreams$LimitedInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Lcom/google/common/io/ByteStreams$LimitedInputStream;
            3    6     1  result  I
    Exceptions:
      throws java.io.IOException

  public int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=4
        start local 0 // com.google.common.io.ByteStreams$LimitedInputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 718
            aload 0 /* this */
            getfield com.google.common.io.ByteStreams$LimitedInputStream.left:J
            lconst_0
            lcmp
            ifne 2
         1: .line 719
            iconst_m1
            ireturn
         2: .line 722
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            i2l
            aload 0 /* this */
            getfield com.google.common.io.ByteStreams$LimitedInputStream.left:J
            invokestatic java.lang.Math.min:(JJ)J
            l2i
            istore 3 /* len */
         3: .line 723
            aload 0 /* this */
            getfield com.google.common.io.ByteStreams$LimitedInputStream.in:Ljava/io/InputStream;
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.io.InputStream.read:([BII)I
            istore 4 /* result */
        start local 4 // int result
         4: .line 724
            iload 4 /* result */
            iconst_m1
            if_icmpeq 6
         5: .line 725
            aload 0 /* this */
            dup
            getfield com.google.common.io.ByteStreams$LimitedInputStream.left:J
            iload 4 /* result */
            i2l
            lsub
            putfield com.google.common.io.ByteStreams$LimitedInputStream.left:J
         6: .line 727
      StackMap locals: int
      StackMap stack:
            iload 4 /* result */
            ireturn
        end local 4 // int result
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // com.google.common.io.ByteStreams$LimitedInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Lcom/google/common/io/ByteStreams$LimitedInputStream;
            0    7     1       b  [B
            0    7     2     off  I
            0    7     3     len  I
            4    7     4  result  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  public synchronized void reset();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // com.google.common.io.ByteStreams$LimitedInputStream this
         0: .line 732
            aload 0 /* this */
            getfield com.google.common.io.ByteStreams$LimitedInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.markSupported:()Z
            ifne 2
         1: .line 733
            new java.io.IOException
            dup
            ldc "Mark not supported"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 735
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.google.common.io.ByteStreams$LimitedInputStream.mark:J
            ldc -1
            lcmp
            ifne 4
         3: .line 736
            new java.io.IOException
            dup
            ldc "Mark not set"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 739
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.google.common.io.ByteStreams$LimitedInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.reset:()V
         5: .line 740
            aload 0 /* this */
            aload 0 /* this */
            getfield com.google.common.io.ByteStreams$LimitedInputStream.mark:J
            putfield com.google.common.io.ByteStreams$LimitedInputStream.left:J
         6: .line 741
            return
        end local 0 // com.google.common.io.ByteStreams$LimitedInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lcom/google/common/io/ByteStreams$LimitedInputStream;
    Exceptions:
      throws java.io.IOException

  public long skip(long);
    descriptor: (J)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // com.google.common.io.ByteStreams$LimitedInputStream this
        start local 1 // long n
         0: .line 745
            lload 1 /* n */
            aload 0 /* this */
            getfield com.google.common.io.ByteStreams$LimitedInputStream.left:J
            invokestatic java.lang.Math.min:(JJ)J
            lstore 1 /* n */
         1: .line 746
            aload 0 /* this */
            getfield com.google.common.io.ByteStreams$LimitedInputStream.in:Ljava/io/InputStream;
            lload 1 /* n */
            invokevirtual java.io.InputStream.skip:(J)J
            lstore 3 /* skipped */
        start local 3 // long skipped
         2: .line 747
            aload 0 /* this */
            dup
            getfield com.google.common.io.ByteStreams$LimitedInputStream.left:J
            lload 3 /* skipped */
            lsub
            putfield com.google.common.io.ByteStreams$LimitedInputStream.left:J
         3: .line 748
            lload 3 /* skipped */
            lreturn
        end local 3 // long skipped
        end local 1 // long n
        end local 0 // com.google.common.io.ByteStreams$LimitedInputStream this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lcom/google/common/io/ByteStreams$LimitedInputStream;
            0    4     1        n  J
            2    4     3  skipped  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      n     
}
SourceFile: "ByteStreams.java"
NestHost: com.google.common.io.ByteStreams
InnerClasses:
  private final LimitedInputStream = com.google.common.io.ByteStreams$LimitedInputStream of com.google.common.io.ByteStreams