code: def deser(val):
      
      if isinstance(val, str):
          _val = val.encode("utf-8")
      else:
          _val = val
  
      return base64_to_long(_val)
docs: Deserialize from a string representation of an long integer
      to the python representation of a long integer.
  
      :param val: The string representation of the long integer.
      :return: The long integer.