I have a byte array sent via UDP from x-plane. The bytes (4) are all floats or integers… I tried to cast them to floats but no luck so far…

Example array: byte data[41] = {-66,30,73,0};

How do I convert 4 bytes into int or float and doesn't float use 8 bytes?

Edit
Report