public class org.apache.cassandra.io.util.FastByteArrayInputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.io.util.FastByteArrayInputStream
super_class: java.io.InputStream
{
protected byte[] buf;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
protected int pos;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int mark;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int count;
descriptor: I
flags: (0x0004) ACC_PROTECTED
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
iconst_0
putfield org.apache.cassandra.io.util.FastByteArrayInputStream.mark:I
2: aload 0
aload 1
putfield org.apache.cassandra.io.util.FastByteArrayInputStream.buf:[B
3: aload 0
aload 1
arraylength
putfield org.apache.cassandra.io.util.FastByteArrayInputStream.count:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/io/util/FastByteArrayInputStream;
0 5 1 buf [B
MethodParameters:
Name Flags
buf
public void <init>(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.io.util.FastByteArrayInputStream.buf:[B
2: aload 0
iload 2
putfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
3: aload 0
iload 2
putfield org.apache.cassandra.io.util.FastByteArrayInputStream.mark:I
4: aload 0
iload 2
iload 3
iadd
aload 1
arraylength
if_icmple 5
aload 1
arraylength
goto 6
StackMap locals: org.apache.cassandra.io.util.FastByteArrayInputStream byte[] int int
StackMap stack: org.apache.cassandra.io.util.FastByteArrayInputStream
5: iload 2
iload 3
iadd
StackMap locals: org.apache.cassandra.io.util.FastByteArrayInputStream byte[] int int
StackMap stack: org.apache.cassandra.io.util.FastByteArrayInputStream int
6: putfield org.apache.cassandra.io.util.FastByteArrayInputStream.count:I
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/io/util/FastByteArrayInputStream;
0 8 1 buf [B
0 8 2 offset I
0 8 3 length I
MethodParameters:
Name Flags
buf
offset
length
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.count:I
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/FastByteArrayInputStream;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/FastByteArrayInputStream;
Exceptions:
throws java.io.IOException
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
putfield org.apache.cassandra.io.util.FastByteArrayInputStream.mark:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/FastByteArrayInputStream;
0 2 1 readlimit I
MethodParameters:
Name Flags
readlimit
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/FastByteArrayInputStream;
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.count:I
if_icmpge 1
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.buf:[B
aload 0
dup
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
baload
sipush 255
iand
goto 2
StackMap locals:
StackMap stack:
1: iconst_m1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/util/FastByteArrayInputStream;
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 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 2
iflt 4
iload 2
aload 1
arraylength
if_icmpgt 4
iload 3
iflt 4
3: iload 3
aload 1
arraylength
iload 2
isub
if_icmple 5
4: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.count:I
if_icmplt 7
6: iconst_m1
ireturn
7: StackMap locals:
StackMap stack:
iload 3
ifne 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.count:I
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
isub
iload 3
if_icmpge 10
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.count:I
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
isub
goto 11
StackMap locals:
StackMap stack:
10: iload 3
StackMap locals:
StackMap stack: int
11: istore 4
start local 4 12: aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.buf:[B
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
aload 1
iload 2
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
13: aload 0
dup
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
iload 4
iadd
putfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
14: 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 15 0 this Lorg/apache/cassandra/io/util/FastByteArrayInputStream;
0 15 1 b [B
0 15 2 offset I
0 15 3 length I
12 15 4 copylen I
MethodParameters:
Name Flags
b
offset
length
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.mark:I
putfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/FastByteArrayInputStream;
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifgt 2
1: lconst_0
lreturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
istore 3
start local 3 3: aload 0
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.count:I
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
isub
i2l
lload 1
lcmp
ifge 4
aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.count:I
goto 5
StackMap locals: org.apache.cassandra.io.util.FastByteArrayInputStream long int
StackMap stack: org.apache.cassandra.io.util.FastByteArrayInputStream
4: aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
i2l
lload 1
ladd
l2i
StackMap locals: org.apache.cassandra.io.util.FastByteArrayInputStream long int
StackMap stack: org.apache.cassandra.io.util.FastByteArrayInputStream int
5: putfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
6: aload 0
getfield org.apache.cassandra.io.util.FastByteArrayInputStream.pos:I
iload 3
isub
i2l
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/io/util/FastByteArrayInputStream;
0 7 1 n J
3 7 3 temp I
MethodParameters:
Name Flags
n
}
SourceFile: "FastByteArrayInputStream.java"