if (initial_bitoffset > 0)
bi.skipBits(initial_bitoffset);
for(int i=0;i<IDS.size();i++)
{
int[] postings = IDS.get(i);
BitFilePosition pos = startOffsets.get(i);
assertEquals(pos.getOffset(), bi.getByteOffset());
assertEquals(pos.getOffsetBits(), bi.getBitOffset());
int id = -1;
for(int j=0;j<postings.length;j++)
{
int target = postings[j];
id = bi.readGamma() + id;