How do I convert an unsigned long array to byte in C++? I'm developing using VS2008 C++.
Edit:
I need to evaluate the size of this converted number,I want to divide this long array to a 29byte array.
for example we have long array = 12345;
it should convert to byte and then I need its length to divide to 29 and see how many packet is it.
losing data is important but right now I just want to get result.