if i wish to copy say a 16 bit pixel to another buffer would memcpy be the best and quickest way.?
ie memcpy(buffer,buffertocopyfrom,2);
ie memcpy(buffer,buffertocopyfrom,2);
A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.
unsigned short pixel;
...
pixel=*buffertocopyfrom;
*buffer=pixel;