title: how to change uint8_t array to a number
body: <p>I want to change a <code>uint8_t</code> array type to a <code>int</code> or <code>string</code> type, so i can write it in a text file.
  for example array:</p>
  
  <p><code>uint8_t outstr[4]; \\ outstr is 0x00 0x04 0x49 0xba</code></p>
  
  <p>i tried using this code:    </p>
  
  <p><code>fprintf(ptr_myfile, "%d   \n", *outstr);</code></p>
  
  <p>this code give me only the first number '0' ,but I need the all array.
  the expected result of the hex number <code>0x000449ba</code> should be <code>281018</code>.  </p>