lzss_write

Compresses data using LZSS.

Description

int lzss_write(PACKFILE *file, LZSS_PACK_DATA *dat, int size, unsigned char *buf, int last);
Packs `size' bytes from `buf', using the pack information contained in `dat'. The compressed bytes will be stored in `file'.
Returns 0 on success, or EOF if there was an error.

Related Projects

The following projects include source code containing this keyword: