state->pool->bits = 0; state->count++;
cursor->bits = 0; cursor->offset++;
XPT_FlushBits(XPTCursor *cursor){    int skipped = 8 - state->pool->bits;    state->pool->bits = 0;    state->count++;    if (!CHECK_COUNT(state))        return -1;    return skipped == 8 ? 0 : skipped;}