Sunday, 1 September 2013

Append byte arrays in XCode

Append byte arrays in XCode

I have 2 arrays of bytes, and i want to copy/append them in the byte array
_allBytes. How can i do that? Any suggestions are welcome.
Byte _secretBytes[6];
Byte _saltBytes[4];
// append the two arrays
Byte *_allBytes[(sizeof(_secretBytes) + sizeof(_saltBytes))];

No comments:

Post a Comment