I am receiving a UDP packet which contains mixed numeric values, some are Int, some are float, some are byte.
I did a search and located the byte convertor lib but that does not seem to allow for mixed data types from the byte array, or perhaps I am just overlooking something.
In total the byte array is a bit over 300 bytes, most of the data is 32bit floats but a few are byte and a few are int32 and int16.
So how would I go about getting the data from the incoming UDP packet and getting it into the proper vars?
Any help is appreciated.
I did a search and located the byte convertor lib but that does not seem to allow for mixed data types from the byte array, or perhaps I am just overlooking something.
In total the byte array is a bit over 300 bytes, most of the data is 32bit floats but a few are byte and a few are int32 and int16.
So how would I go about getting the data from the incoming UDP packet and getting it into the proper vars?
Any help is appreciated.