include "filter.m"; deflate := load Filter Filter->DEFLATEPATH; inflate := load Filter Filter->INFLATEPATH; init: fn(); start: fn(param: string): chan of ref Rq;
Deflate implements gzip-compatible stream compression. The param string argument to start can contain one or more of the following option characters:
Inflate performs the inverse operation to deflate. If the param argument to start begins with the character `h' then the input to the filter is assumed to be in the standard gzip file format; the output will be checked for integrity. While processing, the Rq.Info message is used to transmit some information; the type of information is determined by the first word of msg, as follows:
| FILTER-DEFLATE(2) | Rev: Fri Aug 06 06:32:34 GMT 2004 |