readGroupVInt

fun readGroupVInt(in: DataInput, dst: LongArray, offset: Int)
fun readGroupVInt(in: DataInput, dst: IntArray, offset: Int)

Default implementation of read single group, for optimal performance, you should use instead.

Parameters

in

the input to use to read data.

dst

the array to read ints into.

offset

the offset in the array to start storing ints.


fun readGroupVInt(in: DataInput, remaining: Long, reader: GroupVIntUtil.IntReader, pos: Long, dst: LongArray, offset: Int): Int
fun readGroupVInt(in: DataInput, remaining: Long, reader: GroupVIntUtil.IntReader, pos: Long, dst: IntArray, offset: Int): Int

Faster implementation of read single group, It read values from the buffer that would not cross boundaries.

Return

the number of bytes read excluding the flag. this indicates the number of positions should to be increased for caller, it is 0 or positive number and less than .MAX_LENGTH_PER_GROUP

Parameters

in

the input to use to read data.

remaining

the number of remaining bytes allowed to read for current block/segment.

reader

the supplier of read int.

pos

the start pos to read from the reader.

dst

the array to read ints into.

offset

the offset in the array to start storing ints.