Library for byte array conversion

Hello, I am want to move int, long, float to pc and arduino by serial. I need convert int, long, float to byte array to send then convert byte array back to int, long, float when pc send.

I have searching and finding not all together stuff so wonder if available library for math/byte conversions. Or web page where all may be found for functions.

Thank you, sorry for poor English.