hi,
i have an unsigned char array...say my_array[3] and i'm trying to shift every content in the array by 2.
for example, i have: my_array[1] = 'aa'
my goal is to shift the 'aa' by 2 to the right so its ' aa'
can anyone give me any suggestions? i thought about using memcopy but i figured using the shift operators (<< and >>) will be much faster since my overall goal is to reduce processing time.
thanks,
bg742