So I was wondering if there was any way to turn a 2d double(or int) array into a 2d byte array and vice versa.
I want to have a list of variables(like player info and AI position and animations for both) to be sent over a Datagram socket and I looked around but couldn't find an answer.
Thanks for your help