How to Pass byte array as parameter in url in iPhone?
Posted
by Jindal
on Stack Overflow
See other posts from Stack Overflow
or by Jindal
Published on 2009-12-24T13:14:42Z
Indexed on
2010/04/18
12:03 UTC
Read the original article
Hit count: 461
I am using following code to get bytes array. thx to this post.
Data *data = [NSData dataWithContentsOfFile:filePath];
NSUInteger len = [data length];
Byte *byteData = (Byte*)malloc(len);
memcpy(byteData, [data bytes], len);
it is the right method to do so?
Now, How i can pass bytes array into url?
Thank You for Help,
© Stack Overflow or respective owner