<p>I have a variable </p>

<pre><code>unsigned char* data = MyFunction();
</code></pre>

<p>how to find the length of data?</p>

Assuming its a
```
string
```
```
```
length = strlen( char* );
```
```
but it doesn't seem to be...so there isn't a way
without
having the function return the length.