Skip to content

Instantly share code, notes, and snippets.

/* LZSS encoder-decoder (c) Haruhiko Okumura */
#include <stdio.h>
#include <stdlib.h>
#define EI 11 /* typically 10..13 */
#define EJ 4 /* typically 4..5 */
#define P 1 /* If match length <= P then output one character */
#define N (1 << EI) /* buffer size */
#define F ((1 << EJ) + P) /* lookahead buffer size */

Keybase proof

I hereby claim:

  • I am davidreynolds on github.
  • I am davidreynolds (https://keybase.io/davidreynolds) on keybase.
  • I have a public key ASB4zsD-ckVCftr8f4WizYIiNduJww_ctMjbtrZV2Fbk3Ao

To claim this, I am signing this object: