lzss_write(3alleg)

lzss_write3alleg

Compresses data using lzss. allegro game programming library.

Usage

#include <allegro.h>

int lzss_write(PACKFILE *file, LZSS_PACK_DATA *dat, int size, unsigned char *buf, int last);

Overview

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.

Releases

3 releases since Debian 4.0 (Etch); the text changed 1 time.

  1. 4.0
  2. 5.0–6.0

From liballegro-doc 2:4.2.2-2.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.