How to convert a void * to CString
<p>Not much of a C++ developer and the multiple ways to handle strings always confuses me.</p>

<pre><code>int Mine_SSL_Read(SSL* ssl, void* buf, int size)
{
    int length = Real_SSL_Read(ssl, buf, size);

    CString msg = ???
}
</code></pre>

<p>However I need to write a hook for SSL_Read function (OpenSSL) and that requires some C++ code. I need to convert buf which is of type void* and has a length of "length" into a CString so it can be parsed by other code.</p>
