def varint(i):
 if (i < len(_varint_cache)):
  return _varint_cache[i]
 return _varint(i)

def varint ( i ) : if ( i < len ( _varint_cache ) ) : return _varint_cache [ i ] return _varint ( i )
encodes the given integer into a string of the minimum number of bytes .