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 -

javascript - Preserving URL fragment through CAS sign-on -

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