×

Reversible method of encoding data

  • US 5,640,158 A
  • Filed: 09/14/1995
  • Issued: 06/17/1997
  • Est. Priority Date: 09/14/1994
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of data compression to encode a plurality of sequential data bytes to provide an encoded data stream, the encoded data stream including noncompressed data strings interleaved with compressed data strings, each compressed data string having a plurality of consecutive compressed data units, each compressed data unit indicating a length and an offset, each compressed data unit corresponding to at least a first predetermined number of sequential data bytes, each noncompressed data string having a plurality of consecutive noncompressed data bytes, each noncompressed data byte corresponding to one of the sequential data bytes, the encoded data stream having an initial noncompressed data string having at least a second predetermined number of consecutive bytes, the method comprising the steps of:

  • comparing the plurality of sequential data bytes that are not encoded to the encoded data stream to determine the longest match therewith;

    appending to the encoded data stream a compressed data unit corresponding to the match for each match of at least the first predetermined number of sequential data bytes that are not encoded, the compressed data unit indicating the length of the match and the offset between the data unit and the matching encoded data;

    appending to the encoded data stream a noncompressed data byte for each sequential data byte not contained in any match of at least the first predetermined number of sequential data bytes that are not encoded;

    inserting into each noncompressed data string a code indicating the number of consecutive bytes in the noncompressed data string; and

    inserting into each compressed data string a code indicating the number of compressed data units in the compressed data string.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×