| CPC H03M 7/40 (2013.01) [G06F 16/217 (2019.01)] | 20 Claims |

|
1. A method for data compression, the method comprising:
receiving input data in a first buffer;
finding a delimiter in the input data;
generating, based on a position of the delimiter in the input data, a first portion of data using a part of the input data, wherein a size of the first portion of data is determined based on the position of the delimiter in the input data, the size of the first portion of data is used to determine a size of a second portion of data in a second buffer; and
compressing the second portion of data.
|