Reading string from a byte[]
<p>I have a byte array such as <code>0x21, 0x0D, 0x01, 0x03, 0x31, 0x32, 0x33</code> which containts the ascii string <code>"123"</code> with a length of 3. <code>(string starts at 0x03, 0x31, 0x32, 0x33)</code>
I'm learning, So would somebody be able to show me how to get the output <code>"123"</code> from it and put it inside a <code>char*</code>? Many thanks</p>

<pre><code>                BYTE Data[] = { 0x0D, 0x01, 0x03, 0x31, 0x32, 0x33 };
                int Length = Data[2];

                //Extract string "123" from Data and store as char* ?
</code></pre>
