title: how to save decoded data into a data structure with binascii.unhexlify in python
body: <p>i m deserializing this byte array from Request Payload using this code but can not understand how to save it the output of it..tried appending the result to a list but it didnt work out ..
  import binascii
  import asn1tools</p>
  <pre><code>Protocol_name = 'SomeSchema.txt'
  SomeProtocol = asn1tools.compile_files(Protocol_name, 'uper')
  RegistrationInfoProtocolName = 'RegistrationInfo'
  
  Payload = bytes(string, 'utf-8')
  
  PayloadData = SomeProtocol.decode(RegistrationInfoProtocolName, 
  binascii.unhexlify(Payload))
  </code></pre>
  <p>it will print out PayloadData but its not letting me save it in any useful way
  i tried appending it to a list but for some reason it was way more than what is supposed to be . unique values as well so i dont think it was doing it right .</p>