This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Implementation of the Lempel–Ziv–Storer–Szymanski algorithm, ported from the | |
| C implementation by Haruhiko Okumura | |
| https://oku.edu.mie-u.ac.jp/~okumura/compression/lzss.c | |
| Public Domain | |
| """ | |
| class LZSSBase(object): | |
| def __init__(self, infile, outfile, EI=11, EJ=4, P=1, N=0, F=0, rless=0, init_chr=b' '): | |
| self.infile = infile |