Last active
October 2, 2015 07:45
-
-
Save tanshio/c8daee129f0d708141a3 to your computer and use it in GitHub Desktop.
char
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char index = 30; | |
NSData *data = [NSData dataWithBytes:&index length:sizeof(index)]; | |
NSMutableData *md = [NSMutableData alloc]; | |
[md appendData:data]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment