lzss_write man page

lzss_write ā€” 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'.

Return Value

Returns 0 on success, or EOF if there was an error.

See Also

create_lzss_pack_data(3), free_lzss_pack_data(3)


version 4.4.2 Allegro manual