If I undestood your problem right, you can do this:

float x;
...
char byte1 = ((char*)(&x))[0];
char byte2 = ((char*)(&x))[1];
char byte3 = ((char*)(&x))[2];
char byte4 = ((char*)(&x))[3];

And you can write into the bytes of your floats accessing them the same way.