getVarintLength added