parameters: (self, data, command_class)
return_statement: return output
docstring: Unpack a message.
  
      Args:
        data: The raw data
        command_class: RDM_GET or RDM_SET or RDM_DISCOVERY
docstring_summary: Unpack a message.
docstring_tokens: Unpack a message .
function: def Unpack(self, data, command_class):
      """Unpack a message.
  
      Args:
        data: The raw data
        command_class: RDM_GET or RDM_SET or RDM_DISCOVERY
      """
      group = self._responses.get(command_class)
      if group is None:
        raise UnpackException('Response contained data (hex): %s' %
                              binascii.b2a_hex(data))
      output = group.Unpack(data)[0]
      return output
function_tokens: def Unpack ( self , data , command_class ) : group = self . _responses . get ( command_class ) if group is None : raise UnpackException ( 'Response contained data (hex): %s' % binascii . b2a_hex ( data ) ) output = group . Unpack ( data ) [ 0 ] return output