I have this array:
unsigned char* data = CGBitmapContextGetData(cgctx);
then I tried to get the size with sizeof(data), but that will return me a nonsense-value of 4. data holds a big amount of information. That can't be just 4 ;)
I even get information at data[8293] ... so ... not 4 elements at all.