Hey is there fast way to move data between different types?
I had in delphi function called move so i could do like this :
Is something like that in C++? I need to store integers and long ints into buffer which i need to send via TCP.Code:a,b : Integer; buff : array[0..3] of byte .... move(a, buff[0], 4); move(buff[0], b, 4);