objective c - How to initialize NSData with array of shorts? -


how create instance of nsdata array of shorts? understand [nsdata datawithbytes] method expects input array of unsigned chars?

thanks

datawithbytes: takes void *. can pass want in; make sure take endianness account, if cross-architecture issue.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -