title: converting char* to array of uint8_t (c)
body: <p>I can make function calls and receive an array of strings that represents ipv6 adress. it looks something like this</p>
  
  <pre><code>char* buffer=resolver_getstring(config, INI_BOOT_MESHINTFIPADDRESS);
  </code></pre>
  
  <p>if i printed buffer i will gate the ipv6 adress in string form:</p>
  
  <pre><code>dddd:0000:0000:0000:0000:0000:0000:cccc
  </code></pre>
  
  <p>however, the way how ipv6 address is represented in my project is with 16 hexadecimal number by using uint8_t datatype as follows</p>
  
  <pre><code>uint8_t ipadress[16]
  </code></pre>
  
  <p>now my problem is how can i cast (or copy the memory of buffer) to uint8_t[16]</p>
  
  <p>what i would like to get is </p>
  
  <pre><code>    ipadress[0]=dd // hexadecimal number
      ipaddress[1]=dd
      ....
      ipaddress[15]=cc
  </code></pre>
  
  <p>is there anyway i could do ?
  Regards,</p>