| CPC G06F 8/51 (2013.01) | 19 Claims |

|
1. A method comprising:
identifying, by a hardware processor, definition data that defines structured data for transmission from a first electronic device to a second electronic device;
generating, by the hardware processor, a description file based on the definition data, the description file comprising a set of variables that describes the structured data;
using, by the hardware processor, a compiler to generate a set of hardware parameters based on the description file and to generate source code based on the description file, the source code defining a class that incorporates the structured data, the class comprising a definition of a serialization function that is configured to cause the first electronic device to use data communication hardware of the first electronic device to serialize data stored in the class for transmitting to the second electronic device, the data communication hardware of the first electronic device being separate from a hardware processor of the first electronic device; and
causing, by the hardware processor, the data communication hardware of the first electronic device to perform operations comprising:
using the serialization function included in the class to serialize the data stored in the class to generate a serialized byte string based on the set of hardware parameters, the data stored in the class comprising a set of messages each comprising at least one variable, the serializing comprising:
for each individual message of the set of messages, encoding an individual length value into the serialized byte string included by the individual message, the individual length value representing a length of data content associated with the individual message;
generating one or more data packets based on the serialized byte string;
appending one or more headers to the one or more data packets, the one or more headers including a set of network parameters; and
transmitting, via a network coupled to the first electronic device, the one or more headers and the one or more data packets to the second electronic device based on the set of network parameters.
|