chickadee » z3 » z3:encode


Encode data (a string) into a memory buffer using RFC1951 compression and returns the number of bytes written. If less data has been commpressed than given in the call, invoke z3:encode repeatedly with the remaining data. Returns #f when finished. Each time some compressed data is" available, the one-argument procedure RECEIVER is called with a string containing a chunk of compressed data.