You seem to be comparing the definition of Varint for SQLite4 against the implementation of Varint for SQLite3. The Varint definition for SQLite3 is here: <https://www.sqlite.org/fileformat2.html#varint>
You seem to be comparing the definition of Varint for SQLite4 against the implementation of Varint for SQLite3. The Varint definition for SQLite3 is here: <https://www.sqlite.org/fileformat2.html#varint>