开发者

how to convert NSData to Binary data?

开发者 https://www.devze.com 2023-02-12 12:37 出处:网络
I need convert NSData to Binary data for send t开发者_如何学JAVAo php serverYou don\'t need to convert NSData. Just set the post body of the NSMutableURLRequest.const void *p = [nsDataObject bytes];

I need convert NSData to Binary data for send t开发者_如何学JAVAo php server


You don't need to convert NSData. Just set the post body of the NSMutableURLRequest.


const void *p = [nsDataObject bytes];
NSUInteger length = [nsDataObject length];
0

精彩评论

暂无评论...
验证码 换一张
取 消