title: decoding, little endian, uncompressed and float array
body: <p>I have <strong>Base64</strong> encoded data from an experiment. So what I am trying to do in stepwise is:</p>
  
  <ul>
  <li>Retrieve bytes from base64 encoding (Decode it)</li>
  <li>Convert bytes to little-endian</li>
  <li>Decompress bytes from (zlib)</li>
  <li>Convert byte array to float array</li>
  </ul>
  
  <p>Example: </p>
  
  <p><code>Dn3LQ3np4kOyxQJE20kDRBRuFkScZB5ENxEzRFa+O0THMz9EOQRCRFC1QkRYeUNEwXJJROfbSUScvE5EVDtVRK5PV0TLUWNE481lRHX7ZkSBBWpE9FVyRIFdeESkoHhEnid8RI1nfUSy4YBE/C2CRGKQg0RcR4RE54uEROUAhUTBWodErKyMRNsVkkRvUpJEukWURO58lkSqRZ1E2VauRPBTwEQf9cVE9BnKRA==</code></p>
  
  <p>What I have tried so far</p>
  
  <pre><code>import os
  import base64
  import struct
  
  s = 'Dn3LQ3np4kOyxQJE20kDRBRuFkScZB5ENxEzRFa+O0THMz9EOQRCRFC1QkRYeUNEwXJJROfbSUScvE5EVDtVRK5PV0TLUWNE481lRHX7ZkSBBWpE9FVyRIFdeESkoHhEnid8RI1nfUSy4YBE/C2CRGKQg0RcR4RE54uEROUAhUTBWodErKyMRNsVkkRvUpJEukWURO58lkSqRZ1E2VauRPBTwEQf9cVE9BnKRA=='
  decode=base64.decodestring(s)
  
  tmp_size=len(decode)/4
  </code></pre>
  
  <p>Now I am trying to convert these byte to little endian from here.</p>
  
  <p>I want to do the next operation in <strong>Python</strong>.</p>
  
  <p>I am trying to figure it out myself but, it is taking too much time.</p>
  
  <p>Thanks!</p>