code: def loads(data, cls=PVLDecoder, strict=True, **kwargs):
      
      decoder = __create_decoder(cls, strict, **kwargs)
      if not isinstance(data, bytes):
          data = data.encode('utf-8')
      return decoder.decode(data)
docs: Deserialize ``data`` as a pvl module.
  
      :param data: a pvl module as a byte or unicode string
  
      :param cls: the decoder class used to deserialize the pvl module. You may
          use the default ``PVLDecoder`` class or provide a custom sublcass.
  
      :param **kwargs: the keyword arguments to pass to the decoder class.