public class org.apache.lucene.store.ByteArrayDataOutput extends org.apache.lucene.store.DataOutput
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.store.ByteArrayDataOutput
super_class: org.apache.lucene.store.DataOutput
{
private byte[] bytes;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int limit;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/store/ByteArrayDataOutput;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.lucene.store.ByteArrayDataOutput.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
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 org.apache.lucene.store.DataOutput.<init>:()V
1: aload 0
aload 1
invokevirtual org.apache.lucene.store.ByteArrayDataOutput.reset:([B)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/store/ByteArrayDataOutput;
0 3 1 bytes [B
MethodParameters:
Name Flags
bytes
public void <init>(byte[], int, int);
descriptor: ([BII)V
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
invokespecial org.apache.lucene.store.DataOutput.<init>:()V
1: aload 0
aload 1
iload 2
iload 3
invokevirtual org.apache.lucene.store.ByteArrayDataOutput.reset:([BII)V
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/lucene/store/ByteArrayDataOutput;
0 3 1 bytes [B
0 3 2 offset I
0 3 3 len I
MethodParameters:
Name Flags
bytes
offset
len
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.lucene.store.DataOutput.<init>:()V
1: aload 0
getstatic org.apache.lucene.util.BytesRef.EMPTY_BYTES:[B
invokevirtual org.apache.lucene.store.ByteArrayDataOutput.reset:([B)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/store/ByteArrayDataOutput;
public void reset(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual org.apache.lucene.store.ByteArrayDataOutput.reset:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/store/ByteArrayDataOutput;
0 2 1 bytes [B
MethodParameters:
Name Flags
bytes
public void reset(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
aload 1
putfield org.apache.lucene.store.ByteArrayDataOutput.bytes:[B
1: aload 0
iload 2
putfield org.apache.lucene.store.ByteArrayDataOutput.pos:I
2: aload 0
iload 2
iload 3
iadd
putfield org.apache.lucene.store.ByteArrayDataOutput.limit:I
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/store/ByteArrayDataOutput;
0 4 1 bytes [B
0 4 2 offset I
0 4 3 len I
MethodParameters:
Name Flags
bytes
offset
len
public int getPosition();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.store.ByteArrayDataOutput.pos:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/store/ByteArrayDataOutput;
public void writeByte(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.store.ByteArrayDataOutput.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.store.ByteArrayDataOutput.pos:I
aload 0
getfield org.apache.lucene.store.ByteArrayDataOutput.limit:I
if_icmplt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.store.ByteArrayDataOutput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataOutput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataOutput.pos:I
iload 1
bastore
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/store/ByteArrayDataOutput;
0 3 1 b B
MethodParameters:
Name Flags
b
public void writeBytes(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.apache.lucene.store.ByteArrayDataOutput.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.store.ByteArrayDataOutput.pos:I
iload 3
iadd
aload 0
getfield org.apache.lucene.store.ByteArrayDataOutput.limit:I
if_icmple 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
iload 2
aload 0
getfield org.apache.lucene.store.ByteArrayDataOutput.bytes:[B
aload 0
getfield org.apache.lucene.store.ByteArrayDataOutput.pos:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataOutput.pos:I
iload 3
iadd
putfield org.apache.lucene.store.ByteArrayDataOutput.pos:I
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/store/ByteArrayDataOutput;
0 4 1 b [B
0 4 2 offset I
0 4 3 length I
MethodParameters:
Name Flags
b
offset
length
}
SourceFile: "ByteArrayDataOutput.java"