class org.apache.cassandra.utils.ByteBufferUtil$1 extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.utils.ByteBufferUtil$1
super_class: java.io.InputStream
{
private final java.nio.ByteBuffer val$copy;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.utils.ByteBufferUtil$1.val$copy:Ljava/nio/ByteBuffer;
aload 0
invokespecial java.io.InputStream.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/ByteBufferUtil$1;
MethodParameters:
Name Flags
val$copy final
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.ByteBufferUtil$1.val$copy:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.ByteBufferUtil$1.val$copy:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/ByteBufferUtil$1;
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.cassandra.utils.ByteBufferUtil$1.val$copy:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield org.apache.cassandra.utils.ByteBufferUtil$1.val$copy:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 3
3: aload 0
getfield org.apache.cassandra.utils.ByteBufferUtil$1.val$copy:Ljava/nio/ByteBuffer;
aload 1
iload 2
iload 3
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
4: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/ByteBufferUtil$1;
0 5 1 bytes [B
0 5 2 off I
0 5 3 len I
MethodParameters:
Name Flags
bytes
off
len
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.ByteBufferUtil$1.val$copy:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/ByteBufferUtil$1;
}
SourceFile: "ByteBufferUtil.java"
EnclosingMethod: org.apache.cassandra.utils.ByteBufferUtil.inputStream:(Ljava/nio/ByteBuffer;)Ljava/io/InputStream;
NestHost: org.apache.cassandra.utils.ByteBufferUtil
InnerClasses:
org.apache.cassandra.utils.ByteBufferUtil$1