Created
December 9, 2014 06:17
-
-
Save ksksue/7f7c8941e3ae4d284761 to your computer and use it in GitHub Desktop.
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
uint8_t* array = (uint8_t*)malloc(sizeof(uint8_t)*100); |
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
NSMutableData* data = [NSMutableData dataWithLength:sizeof(uint8_t) * 100]; | |
uint8_t* array = [data mutableBytes]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment