def _VarintBytes(value):
 pieces = []
 _EncodeVarint(pieces.append, value)
 return ''.join(pieces)

def _VarintBytes ( value ) : pieces = [ ] _EncodeVarint ( pieces . append , value ) return '' . join ( pieces )
encode the given integer as a varint and return the bytes .