Fix readVarInt length calculation causing unintended type coercion
Merge pull request #2 from deathcap/fix-varintlen

Fix readVarInt length calculation causing unintended type coercion