def encode(self, uuid, pad_length=None):
if pad_length is None:<EOL><INDENT>pad_length = self._length<EOL><DEDENT>return int_to_string(uuid.int, self._alphabet, padding=pad_length)<EOL>
Encode a UUID into a string (LSB first) according to the alphabet

If leftmost (MSB) bits are 0, the string might be shorter.