title: How to simulate an NSData object in C++?
body: <p>I would like to know about the way by which I can go around and convert between an NSData object (for example a UIImage encoded as such) and its equivalent in C++ and vice versa.</p>