摘要 |
A method for data communication includes receiving a data packet that includes at least one contiguous data item, defining a window that initially includes the beginning of the data items, determining whether the window includes a part of a split data item and processing the contiguous data items when there are no split data items. The method also includes processing all data items occurring before a split data item when a split data item is found, storing the first part of a split data item, moving the window to include both parts of the split data item, appending the stored first part to the second part to create an appended packet and processing the appended packet. An apparatus for data communication includes at least one memory having program instructions and at least one processor configured to use the program instructions to receive a data packet that includes at least one contiguous data item, define a window that initially includes the beginning of the data items, determine whether the window includes a part of a split data item and process the contiguous data items when there are no split data items. The processor is also configured to process all data items occurring before a split data item when a split data item is found, store the first part of a split data item, move the window to include both parts of the split data item, append the stored first part to the second part and process the result. |