Patent attributes
A computer-implemented method is provided. The computer-implemented method comprises: determining data to be encoded, the data comprising data elements that each have a corresponding type, length, and value; determining a list of values of data elements having a first type; encoding the list as a first portion of encoded data including an indication of the first type, the length of each value, and the value; encoding the plurality of data elements as a second portion of encoded data, wherein for each data element whose value is included in the list of values, the second portion includes an indication of a position of the value in the list, and wherein for each data element having a second type, the second portion includes an indication of the type, an indication of the length, and an indication of the value; and transmitting the encoded data for storage and/or decoding.