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 start local 1 start local 2 0: aload 0
aload 1
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
lload 2
putfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
2: return
end local 2 end local 1 end local 0 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 0: aload 0
getfield org.apache.cassandra.io.util.LengthAvailableInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 1
start local 1 1: aload 0
dup
getfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
lconst_1
lsub
putfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
2: iload 1
ireturn
end local 1 end local 0 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 start local 1 0: aload 0
getfield org.apache.cassandra.io.util.LengthAvailableInputStream.in:Ljava/io/InputStream;
aload 1
invokevirtual java.io.InputStream.read:([B)I
istore 2
start local 2 1: aload 0
dup
getfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
iload 2
i2l
lsub
putfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
2: iload 2
ireturn
end local 2 end local 1 end local 0 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 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.cassandra.io.util.LengthAvailableInputStream.in:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
istore 4
start local 4 1: aload 0
dup
getfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
iload 4
i2l
lsub
putfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
2: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 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 start local 1 0: aload 0
getfield org.apache.cassandra.io.util.LengthAvailableInputStream.in:Ljava/io/InputStream;
lload 1
invokevirtual java.io.InputStream.skip:(J)J
lstore 3
start local 3 1: aload 0
dup
getfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
lload 3
lsub
putfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
2: lload 3
lreturn
end local 3 end local 1 end local 0 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 0: aload 0
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
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
getfield org.apache.cassandra.io.util.LengthAvailableInputStream.remainingBytes:J
l2i
StackMap locals:
StackMap stack: int
3: ireturn
end local 0 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 0: aload 0
getfield org.apache.cassandra.io.util.LengthAvailableInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
1: return
end local 0 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 start local 1 0: return
end local 1 end local 0 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 0: new java.io.IOException
dup
ldc "Mark/Reset not supported"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 0 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 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/LengthAvailableInputStream;
}
SourceFile: "LengthAvailableInputStream.java"