public class org.apache.cassandra.io.util.LengthAvailableInputStream extends java.io.FilterInputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.cassandra.io.util.LengthAvailableInputStream
  super_class: java.io.FilterInputStream
{
  private long remainingBytes;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  public void <init>(java.io.InputStream, long);
    descriptor: (Ljava/io/InputStream;J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
        start local 1 // java.io.InputStream in
        start local 2 // long totalLength
         0: .line 34
            aload 0 /* this */
            aload 1 /* in */
            invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
         1: .line 35
            aload 0 /* this */
            lload 2 /* totalLength */
            putfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
         2: .line 36
            return
        end local 2 // long totalLength
        end local 1 // java.io.InputStream in
        end local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    3     0         this  Lorg/apache/cassandra/io/util/LengthAvailableInputStream;
            0    3     1           in  Ljava/io/InputStream;
            0    3     2  totalLength  J
    MethodParameters:
             Name  Flags
      in           
      totalLength  

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
         0: .line 41
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.LengthAvailableInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            istore 1 /* b */
        start local 1 // int b
         1: .line 42
            aload 0 /* this */
            dup
            getfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
            lconst_1
            lsub
            putfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
         2: .line 43
            iload 1 /* b */
            ireturn
        end local 1 // int b
        end local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/cassandra/io/util/LengthAvailableInputStream;
            1    3     1     b  I
    Exceptions:
      throws java.io.IOException

  public int read(byte[]);
    descriptor: ([B)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
        start local 1 // byte[] b
         0: .line 49
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.LengthAvailableInputStream.in:Ljava/io/InputStream;
            aload 1 /* b */
            invokevirtual java.io.InputStream.read:([B)I
            istore 2 /* length */
        start local 2 // int length
         1: .line 50
            aload 0 /* this */
            dup
            getfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
            iload 2 /* length */
            i2l
            lsub
            putfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
         2: .line 51
            iload 2 /* length */
            ireturn
        end local 2 // int length
        end local 1 // byte[] b
        end local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lorg/apache/cassandra/io/util/LengthAvailableInputStream;
            0    3     1       b  [B
            1    3     2  length  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     

  public int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=4
        start local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 57
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.LengthAvailableInputStream.in:Ljava/io/InputStream;
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.io.InputStream.read:([BII)I
            istore 4 /* length */
        start local 4 // int length
         1: .line 58
            aload 0 /* this */
            dup
            getfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
            iload 4 /* length */
            i2l
            lsub
            putfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
         2: .line 59
            iload 4 /* length */
            ireturn
        end local 4 // int length
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lorg/apache/cassandra/io/util/LengthAvailableInputStream;
            0    3     1       b  [B
            0    3     2     off  I
            0    3     3     len  I
            1    3     4  length  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  public long skip(long);
    descriptor: (J)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
        start local 1 // long n
         0: .line 65
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.LengthAvailableInputStream.in:Ljava/io/InputStream;
            lload 1 /* n */
            invokevirtual java.io.InputStream.skip:(J)J
            lstore 3 /* length */
        start local 3 // long length
         1: .line 66
            aload 0 /* this */
            dup
            getfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
            lload 3 /* length */
            lsub
            putfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
         2: .line 67
            lload 3 /* length */
            lreturn
        end local 3 // long length
        end local 1 // long n
        end local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lorg/apache/cassandra/io/util/LengthAvailableInputStream;
            0    3     1       n  J
            1    3     3  length  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      n     

  public int available();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
         0: .line 73
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
            lconst_0
            lcmp
            ifgt 1
            iconst_0
            goto 3
      StackMap locals:
      StackMap stack:
         1: aload 0 /* this */
            getfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
            ldc 2147483647
            lcmp
            ifle 2
            ldc 2147483647
            goto 3
      StackMap locals:
      StackMap stack:
         2: aload 0 /* this */
            getfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
            l2i
      StackMap locals:
      StackMap stack: int
         3: ireturn
        end local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/cassandra/io/util/LengthAvailableInputStream;
    Exceptions:
      throws java.io.IOException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
         0: .line 79
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.LengthAvailableInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.close:()V
         1: .line 80
            return
        end local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/cassandra/io/util/LengthAvailableInputStream;
    Exceptions:
      throws java.io.IOException

  public synchronized void mark(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
        start local 1 // int readlimit
         0: .line 85
            return
        end local 1 // int readlimit
        end local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Lorg/apache/cassandra/io/util/LengthAvailableInputStream;
            0    1     1  readlimit  I
    MethodParameters:
           Name  Flags
      readlimit  

  public synchronized void reset();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
         0: .line 90
            new java.io.IOException
            dup
            ldc "Mark/Reset not supported"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/io/util/LengthAvailableInputStream;
    Exceptions:
      throws java.io.IOException

  public boolean markSupported();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
         0: .line 96
            iconst_0
            ireturn
        end local 0 // org.apache.cassandra.io.util.LengthAvailableInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/io/util/LengthAvailableInputStream;
}
SourceFile: "LengthAvailableInputStream.java"