parameters: (data)
return_statement: return base64.b64encode(data.encode('utf-8')).decode('utf-8')
docstring: Returns the base64 encoded dump of the input
  
      Arguments
      ---------
  
      data: Can be a dict, a (JSON or plain) string, or None
docstring_summary: Returns the base64 encoded dump of the input
docstring_tokens: Returns the base64 encoded dump of the input
function: def b64dump(data):
      """Returns the base64 encoded dump of the input
  
      Arguments
      ---------
  
      data: Can be a dict, a (JSON or plain) string, or None
  
      """
      if isinstance(data, dict):
          data = json.dumps(data)
      elif data is None:
          data = json.dumps(None)
      return base64.b64encode(data.encode('utf-8')).decode('utf-8')
function_tokens: def b64dump ( data ) : if isinstance ( data , dict ) : data = json . dumps ( data ) elif data is None : data = json . dumps ( None ) return base64 . b64encode ( data . encode ( 'utf-8' ) ) . decode ( 'utf-8' )