How do you convert an array of bytes to an int or a float?. I'm reading in binary bytes of data from a file. I have to take them 4 at a time, reverse their order (because they come in "wrong endian", and then combine them into a single int or a single float. I know how to do everything but that last step. Any help would be appreciated.