int readLinearVarInt({bool signed = true, int maxBits = 64}) => readInt( signed: signed, bits: readInt(signed: false, bits: getBitsNeeded(maxBits)));