iphone - Aligned pointer -


possible duplicate:
what 'aligned pointer' ?

please give me example of statement:

a normal pointer type implicitly cast aligned pointer type.


actually c language question

i don't believe can cast them. pointers aligned normal. have declare __packed un-aligned.

you should read on how arm processor works. alignment causes quick memory access. if need things packed further, recommend storing data blob in nsdata or using c-style byte[] array.

also, see question/answer. , this one.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -