lzss_write
Compresses data using LZSS. Allegro game programming library.
- Provided by: allegro4-doc (Version: 2:4.4.3.1-4.1build3)
- Source: allegro4.4
- Report a bug
Compresses data using LZSS. Allegro game programming library.
#include <allegro.h>
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.
create_lzss_pack_data(3alleg4), free_lzss_pack_data(3alleg4)