G
Guest
Hi,
My application receives data from multiple sources transferred over
ethernet. This data is broken into packets of bytes before being transmitted
over the network.
My application has to take the data and arrange into a user defined
type/class.
e.g one message from source 1 may be 10-15KB. This is broken down into
smaller packets say for arguments sake 1KB.
My application then has to take each packet and construct the data back into
it's orginal size of 15KB.
This will probably be stored in some sort of array/arraylist of doubles
rather than bytes.
My question is :- what is the best/most efficient way of converting the
individual packets of bytes into an array of say doubles?
Regards
Macca
My application receives data from multiple sources transferred over
ethernet. This data is broken into packets of bytes before being transmitted
over the network.
My application has to take the data and arrange into a user defined
type/class.
e.g one message from source 1 may be 10-15KB. This is broken down into
smaller packets say for arguments sake 1KB.
My application then has to take each packet and construct the data back into
it's orginal size of 15KB.
This will probably be stored in some sort of array/arraylist of doubles
rather than bytes.
My question is :- what is the best/most efficient way of converting the
individual packets of bytes into an array of say doubles?
Regards
Macca