How do you convert UINT8 to UINT32 in C++?
<p>I have a value of type <code>UINT8</code> and I would like to make it <code>UINT32</code>.</p>

<p>Would my following code be considered correct, valid, efficient and safe?</p>

<pre><code>UINT32 convU8toU32(UINT8 *number) {
  UINT32 result = *number;
  return *result;
}
</code></pre>

<p>Please notice that I'm a new comer to C++ from the Java world.</p>