Image Data,iphone
<p>i am converting image data to bytes by using below code..</p>

<pre><code>NSData *imageData = UIImageJPEGRepresentation(m_imageView.image,90);
unsigned char *bytePtr = (unsigned char *)[imageData bytes];
</code></pre>

<p>same image is coverting to bytes by using .net, in that they are using some encoding techs...</p>

<p>iphonesdk and .net bytes are not in sync...</p>

<p>do i need to use encoding techs for that bytes....if so please please provide me the solution with code :)</p>

<p>Thanks in advance....</p>
