Mobile Developer
Monday, January 13, 2014
JAVA code how does this turn into object-c?
JAVA code how does this turn into object-c?
byte [] iv = new byte [8];
for (int i = 0; i <8; i + +) {
iv [i] = (byte) (i + 2);
}
Reply:
char * iv = malloc (8);
for (int i = 0; i <8; i + +) {
iv [i] = (char) (i + 2);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment