title: is it possible to read s64 value from uint32?
body: <p>code :</p>
  
  <pre><code>s64 end_time;
  struct timespec ts;
  getrawmonotonic(&amp;ts);
  end_time = timespec_to_ns(&amp;ts);
  </code></pre>
  
  <p>How to remove the first three bytes from end_time and last one byte from it?? I want to store it in a uint32. could someone tell me how to do that??</p>
  
  <pre><code>uint32 latency;
  fscanf(fp, "%lu\n", latency);  //fp  is reading the end_time and storing in latency.
  latency = (uint32) (latency &gt;&gt; 8) &amp; 0xFFFFFFFF;
  </code></pre>
  
  <p>after reading the s64 value from uint32. I am reading only 4bytes from that. 
  Is it possible to read the s64 from uint32 ??</p>