I need to convert for exemple this number : 281474976710655 to a unsigned char array like this one :
unsigned char value[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
I try to memcpy and other techniques but i didn't get the correct value back, always random hex...
I'm not a c++ developer so thanks to explain if you can.
Thanks a lot, bye !