For some special kind of data transmission, i created a Packet class and a Packet-Generator class which creates a packet.
The packet class itselff only contains the whole data in one array and is there for simplying the sending and receiving process...
The receiver needs to unpack/interpret the individual parts of the packet. And this is where i am unsure about...
I already have another version of my packet class which is able to give you the seperate parts.
But i can alos think of some kind of interpreter for the packet which does the interpreting...
How would you do this, or what do you think would fit better/makes more sense/less work...