h.check(i.getBitOffset() == 4);
h.check(i.readBit() == 0);
h.check(i.readBit() == 0);
h.check(i.readBit() == 1);
h.check(i.readBit() == 0);
// Check that the bit offset is reset and the position
// incremented.
h.check(i.getBitOffset() == 0);
h.check(i.getStreamPosition() == 6);