Here is an example of getting your data into a NSData object.
const unsigned char bytes[] = {values here};
NSData *data = [NSData dataWithBytes:bytes length:sizeof(bytes)];
NSLog(@"%@", data);
More Related Contents:
- Converting HEX NSString To NSData
- create a countdown timer in objective c (iPhone development) [duplicate]
- iPhone (iOS) app (difficulty on creating) [closed]
- Difference between self.ivar and ivar?
- Detect the specific iPhone/iPod touch model [duplicate]
- Programmatically Request Access to Contacts
- Resize UIImage by keeping Aspect ratio and width
- Declaration/definition of variables locations in ObjectiveC?
- iOS SDK – Programmatically generate a PDF file
- Storyboard – refer to ViewController in AppDelegate
- What are best practices that you use when writing Objective-C and Cocoa? [closed]
- Embedding YouTube videos on
- CAGradientLayer, not resizing nicely, tearing on rotation
- post image to server in iphone
- iOS: Access app-info.plist variables in code
- Objective C – get the following day from today (tomorrow)
- iOS Pinch Scale and Two Finger Rotate at same time
- Best ways to play simple sound effect in iOS
- How do I auto size a UIScrollView to fit its content
- NSFetchedResultsController with sections created by first letter of a string
- iOS: Keep application running in background
- Calling method in current view controller from App Delegate in iOS
- UICollectionView animations (insert/delete items)
- Get X and Y coordinates of a word in UITextView
- Objective c, Memory management of instance members
- How to convert JSON serialized data to NSDictionary
- iOS: parse a URL into segments
- Accessing UITextField in a custom UITableViewCell
- iOS – Scale and crop CMSampleBufferRef/CVImageBufferRef
- How to set font size to fill UILabel height?