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
Post a Comment