CPC G06F 16/2379 (2019.01) [G06F 12/0223 (2013.01); G06F 16/2255 (2019.01); G06F 16/2264 (2019.01); G06F 16/2358 (2019.01); G06F 16/24562 (2019.01); G06F 16/90344 (2019.01); H04L 69/324 (2013.01); G06F 2212/1041 (2013.01)] | 16 Claims |
1. A decoding system for recovering a message object from a byte queue received over a communications network, the system comprising:
at least one memory configured to store instructions; and
at least one processor configured to execute the instructions and cause the system to perform,
reading a token of the message object from the byte queue, wherein the token uniquely identifies a structure of the message object;
obtaining a dictionary definition based on the token, wherein the dictionary definition defines a plurality of entries in a defined order including, for each entry of the plurality of entries, a data type and a field identifier; and
iterating over the dictionary definition in the defined order and, for each entry of the plurality of entries,
reading a number of bytes from the byte queue, wherein the number is defined by the data type of the entry;
selecting an entry of the message object according to the field identifier of the entry; and
writing the number of bytes to the selected entry of the message object.
|