So what I\'m trying to do here is get a float[], convert it to byte[], send it through the network as a datagram packet and then convert it back to
float[]
byte[]
I think you want to make use of the ByteBuffer class, which has putFloat and getFloat methods.
ByteBuffer
putFloat
getFloat