Quantcast
Channel: Virtualisation
Viewing all articles
Browse latest Browse all 277

How to get byte[] from NSData on moe?

$
0
0

 I need some like this

NSData *data = [NSData dataWithContentsOfFile:filePath];
NSUInteger len = [data length];
Byte *byteData = (Byte*)malloc(len);
memcpy(byteData, [data bytes], len);

But on java


Viewing all articles
Browse latest Browse all 277

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>