KI_DCOMP
Argument | Enumeration | Purpose |
---|---|---|
SYM(in_buf$) | Symbol of source data | |
in_size | Size of source data | |
SYM(out_buf$) | Symbol of output buffer | |
out_size | Size of uncompressed data |
KI_DCOMP
This expands a buffer previously compressed by KI_COMP using the same algorithm as the Unix utility compress working with a 16 bit dictionary.
If the output symbol is negative then the buffer will be re-dimensioned large enough to accomodate the uncompressed output.
KI_DCOMP will fail if it has been passed data than has not been compressed with KI_COMP. In this case out_size will contain a negative value and the contents of out_buf$ are undefined.