title: how to cast uint8_t array of 4 to uint32_t in c
body: <p>I am trying to cast an array of uint8_t to an array of uint32_t, but it seems not to be working.<br>
  Can any one help me on this. I need to get uint8_t values to uint32_t.<br>
  I can do this with shifting but i think there is a easy way.</p>
  
  <pre><code>uint32_t *v4full;
  v4full=( uint32_t *)v4;
  while (*v4full) {
      if (*v4full &amp; 1)
          printf("1");
      else
          printf("0");
  
      *v4full &gt;&gt;= 1;
  }
  printf("\n");
  </code></pre>