cosailer:
For example, how to send this via UART ?? and receive it on the other side properly ??
I would serialize it. That is, convert it into something else, like just a string with (say) commas between each number. There is no guarantee that an int on the receiving end will be the same size as an int on the sending end, for example, or that floats have the same format internally.