code: def base64(self, charset=None):
          '''Data encoded as base 64'''
          return b64encode(self.bytes()).decode(charset or self.charsetf base64(self, charset=None):
          '''Data encoded as base 64'''
          return b64encode(self.bytes()).decode(charset or self.charset)
docs: Data encoded as base 64