I have got the bytes of 2 integers (say 32 bit int) now is it possible to add them using the bytes?
I have like
char b1[4], b2[4];
int a= 2311;
int b= 233134;
memcpy(b1, &a, 4);
memcpy(b2, &b, 4);
My question is is there any algorithm to add, mul, sub the numbers from bytes and the number of bytes of number is not fixed it may be 32 bit, 64 bit, 128 bit.
Note i do not want any library or framewprk just c++