writeGroupVInts
Encode integers using group-varint. It uses VInt to encode tail values that are not enough for a group. we need a long[] because this is what postings are using, all longs are actually required to be integers.
Parameters
values
the values to write
limit
the number of values to write.
Encode integers using group-varint. It uses VInt to encode tail values that are not enough for a group.
Parameters
values
the values to write
limit
the number of values to write.