<brieflz.h> - blz_depack
size_t blz_depack( const void *source,
                   void *destination,
                   size_t depacked_size );

Decompresses the compressed data from source[] into destination[].

The destination[] buffer must be large enough to hold the decompressed data.

The depacked_size parameter is the size of the original uncompressed data.

Parameters:
source - pointer to the compressed data.
destination - pointer to where the decompressed data should be stored.
depacked_size - the size in bytes of the decompressed data.
Returns:
the length of the decompressed data, or -1 on error.