public final class org.apache.lucene.store.ByteArrayDataInput extends org.apache.lucene.store.DataInput
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.store.ByteArrayDataInput
super_class: org.apache.lucene.store.DataInput
{
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
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.DataInput.<init>:()V
1: aload 0
aload 1
invokevirtual org.apache.lucene.store.ByteArrayDataInput.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/ByteArrayDataInput;
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.DataInput.<init>:()V
1: aload 0
aload 1
iload 2
iload 3
invokevirtual org.apache.lucene.store.ByteArrayDataInput.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/ByteArrayDataInput;
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.DataInput.<init>:()V
1: aload 0
getstatic org.apache.lucene.util.BytesRef.EMPTY_BYTES:[B
invokevirtual org.apache.lucene.store.ByteArrayDataInput.reset:([B)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/store/ByteArrayDataInput;
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.ByteArrayDataInput.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/ByteArrayDataInput;
0 2 1 bytes [B
MethodParameters:
Name Flags
bytes
public void rewind();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/store/ByteArrayDataInput;
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.ByteArrayDataInput.pos:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/store/ByteArrayDataInput;
public void setPosition(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
iload 1
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/store/ByteArrayDataInput;
0 2 1 pos I
MethodParameters:
Name Flags
pos
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.ByteArrayDataInput.bytes:[B
1: aload 0
iload 2
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
2: aload 0
iload 2
iload 3
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.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/ByteArrayDataInput;
0 4 1 bytes [B
0 4 2 offset I
0 4 3 len I
MethodParameters:
Name Flags
bytes
offset
len
public int length();
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.ByteArrayDataInput.limit:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/store/ByteArrayDataInput;
public boolean eof();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.limit:I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/store/ByteArrayDataInput;
public void skipBytes(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
i2l
lload 1
ladd
l2i
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/store/ByteArrayDataInput;
0 2 1 count J
MethodParameters:
Name Flags
count
public short readShort();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
sipush 255
iand
bipush 8
ishl
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
sipush 255
iand
ior
i2s
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/store/ByteArrayDataInput;
public int readInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
sipush 255
iand
bipush 24
ishl
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
sipush 255
iand
bipush 16
ishl
ior
1: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
sipush 255
iand
bipush 8
ishl
2: ior
3: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
sipush 255
iand
4: ior
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/store/ByteArrayDataInput;
public long readLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
sipush 255
iand
bipush 24
ishl
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
sipush 255
iand
bipush 16
ishl
ior
1: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
sipush 255
iand
bipush 8
ishl
2: ior
3: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
sipush 255
iand
4: ior
istore 1
start local 1 5: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
sipush 255
iand
bipush 24
ishl
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
sipush 255
iand
bipush 16
ishl
ior
6: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
sipush 255
iand
bipush 8
ishl
7: ior
8: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
sipush 255
iand
9: ior
istore 2
start local 2 10: iload 1
i2l
bipush 32
lshl
iload 2
i2l
ldc 4294967295
land
lor
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/store/ByteArrayDataInput;
5 11 1 i1 I
10 11 2 i2 I
public int readVInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
istore 1
start local 1 1: iload 1
iflt 2
iload 1
ireturn
2: StackMap locals: int
StackMap stack:
iload 1
bipush 127
iand
istore 2
start local 2 3: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
istore 1
4: iload 2
iload 1
bipush 127
iand
bipush 7
ishl
ior
istore 2
5: iload 1
iflt 6
iload 2
ireturn
6: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
istore 1
7: iload 2
iload 1
bipush 127
iand
bipush 14
ishl
ior
istore 2
8: iload 1
iflt 9
iload 2
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
istore 1
10: iload 2
iload 1
bipush 127
iand
bipush 21
ishl
ior
istore 2
11: iload 1
iflt 12
iload 2
ireturn
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
istore 1
13: iload 2
iload 1
bipush 15
iand
bipush 28
ishl
ior
istore 2
14: iload 1
sipush 240
iand
ifne 15
iload 2
ireturn
15: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Invalid vInt detected (too many bits)"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/lucene/store/ByteArrayDataInput;
1 16 1 b B
3 16 2 i I
public long readVLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
istore 1
start local 1 1: iload 1
iflt 2
iload 1
i2l
lreturn
2: StackMap locals: int
StackMap stack:
iload 1
i2l
ldc 127
land
lstore 2
start local 2 3: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
istore 1
4: lload 2
iload 1
i2l
ldc 127
land
bipush 7
lshl
lor
lstore 2
5: iload 1
iflt 6
lload 2
lreturn
6: StackMap locals: long
StackMap stack:
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
istore 1
7: lload 2
iload 1
i2l
ldc 127
land
bipush 14
lshl
lor
lstore 2
8: iload 1
iflt 9
lload 2
lreturn
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
istore 1
10: lload 2
iload 1
i2l
ldc 127
land
bipush 21
lshl
lor
lstore 2
11: iload 1
iflt 12
lload 2
lreturn
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
istore 1
13: lload 2
iload 1
i2l
ldc 127
land
bipush 28
lshl
lor
lstore 2
14: iload 1
iflt 15
lload 2
lreturn
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
istore 1
16: lload 2
iload 1
i2l
ldc 127
land
bipush 35
lshl
lor
lstore 2
17: iload 1
iflt 18
lload 2
lreturn
18: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
istore 1
19: lload 2
iload 1
i2l
ldc 127
land
bipush 42
lshl
lor
lstore 2
20: iload 1
iflt 21
lload 2
lreturn
21: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
istore 1
22: lload 2
iload 1
i2l
ldc 127
land
bipush 49
lshl
lor
lstore 2
23: iload 1
iflt 24
lload 2
lreturn
24: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
istore 1
25: lload 2
iload 1
i2l
ldc 127
land
bipush 56
lshl
lor
lstore 2
26: iload 1
iflt 27
lload 2
lreturn
27: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Invalid vLong detected (negative values disallowed)"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/lucene/store/ByteArrayDataInput;
1 28 1 b B
3 28 2 i J
public byte readByte();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos:I
baload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/store/ByteArrayDataInput;
public void readBytes(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: aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.bytes:[B
aload 0
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
aload 1
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
1: aload 0
dup
getfield org.apache.lucene.store.ByteArrayDataInput.pos:I
iload 3
iadd
putfield org.apache.lucene.store.ByteArrayDataInput.pos: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/lucene/store/ByteArrayDataInput;
0 3 1 b [B
0 3 2 offset I
0 3 3 len I
MethodParameters:
Name Flags
b
offset
len
}
SourceFile: "ByteArrayDataInput.java"