public class org.apache.cassandra.io.util.MemoryOutputStream extends java.io.OutputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.io.util.MemoryOutputStream
super_class: java.io.OutputStream
{
private final org.apache.cassandra.io.util.Memory mem;
descriptor: Lorg/apache/cassandra/io/util/Memory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int position;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(org.apache.cassandra.io.util.Memory);
descriptor: (Lorg/apache/cassandra/io/util/Memory;)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.OutputStream.<init>:()V
1: aload 0
iconst_0
putfield org.apache.cassandra.io.util.MemoryOutputStream.position:I
2: aload 0
aload 1
putfield org.apache.cassandra.io.util.MemoryOutputStream.mem:Lorg/apache/cassandra/io/util/Memory;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/MemoryOutputStream;
0 4 1 mem Lorg/apache/cassandra/io/util/Memory;
MethodParameters:
Name Flags
mem
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.util.MemoryOutputStream.mem:Lorg/apache/cassandra/io/util/Memory;
aload 0
dup
getfield org.apache.cassandra.io.util.MemoryOutputStream.position:I
dup_x1
iconst_1
iadd
putfield org.apache.cassandra.io.util.MemoryOutputStream.position:I
i2l
iload 1
i2b
invokevirtual org.apache.cassandra.io.util.Memory.setByte:(JB)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/MemoryOutputStream;
0 2 1 b I
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.cassandra.io.util.MemoryOutputStream.mem:Lorg/apache/cassandra/io/util/Memory;
aload 0
getfield org.apache.cassandra.io.util.MemoryOutputStream.position:I
i2l
aload 1
iload 2
iload 3
invokevirtual org.apache.cassandra.io.util.Memory.setBytes:(J[BII)V
1: aload 0
dup
getfield org.apache.cassandra.io.util.MemoryOutputStream.position:I
iload 3
iadd
putfield org.apache.cassandra.io.util.MemoryOutputStream.position:I
2: return
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/MemoryOutputStream;
0 3 1 b [B
0 3 2 off I
0 3 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public int position();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.MemoryOutputStream.position:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/MemoryOutputStream;
}
SourceFile: "MemoryOutputStream.java"