The Bitcoin Code source code uses the name "CompactSize" for what is named "VarInt" in this project.
"CompactSize/VarInt" in this project and in Bitcoin Core.
In Bitcoin Core, there is also a different integer encoding named VarInt.
I assumed VarInt was the same integer encoding for both projects and this confused me for a while.