úÎHB´&      !"#$%portable (H98 + FFI) experimentalduncan.coutts@worc.ox.ac.uk[&'()*+,-BThe strategy parameter is used to tune the compression algorithm. FThe strategy parameter only affects the compression ratio but not the K correctness of the compressed output even if it is not set appropriately. Use $ to force Huffman encoding only (no  string match). Use # for data produced by a filter (or 6 predictor). Filtered data consists mostly of small 7 values with a somewhat random distribution. In this 8 case, the compression algorithm is tuned to compress : them better. The effect of Z_FILTERED is to force more 2 Huffman coding and less string matching; it is ! somewhat intermediate between  and  . Use the  for normal data. The 9 parameter specifies how much memory should be allocated % for the internal compression state. 'Use a specific level in the range 1..9 2Use maximum memory for optimal compression speed.  (Equivalent to  9) 1Use minimum memory. This is slow and reduces the % compression ratio. (Equivalent to  1) The default. (Equivalent to  8) FControl amount of compression. This is a trade-off between the amount H of compression and the time and memory required to do the compression. .A specific compression level between 1 and 9. 3The slowest compression method (best compression). 3The fastest compression method (less compression) #No compression, just a block copy. .The default compression level is 6 (that is, 9 biased towards high compression at expense of speed). The compression method 'Deflate'# is the only one supported in this  version of zlib. 3Enable zlib or gzip decoding with automatic header 7 detection. This only makes sense for decompression. 7Encode or decode a raw data stream without any header. .Encode or decode with the zlib header format. .Encode or decode with the gzip header format. ./012349No progress was possible or there was not enough room in  the output buffer when / is used. Note that   BuferError is not fatal, and 5 can be called < again with more input and more output space to continue. 6789:;<=>?@ABC5DEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefg)This never needs to be used as the stream's resources will be released J automatically when no longer needed, however this can be used to release J them early. Only use this when you can guarantee that the stream will no I longer be needed, for example if an error occurs or if the stream ends. 6 ./012346789<=>?@ABC5HIJTUVcdg6   .210//0123876446789<=>?@ABC5HIJTUVcdgportable (H98 + FFI) provisionalduncan.coutts@worc.ox.ac.uk    portable (H98 + FFI) experimentalduncan.coutts@worc.ox.ac.uk    portable (H98 + FFI) provisionalduncan.coutts@worc.ox.ac.uk !"  !" !"   !"portable (H98 + FFI) provisionalduncan.coutts@worc.ox.ac.uk#0Decompress a stream of data in the gzip format. LThere are a number of errors that can occur. In each case an exception will / be thrown. The possible error conditions are: 7 if the stream does not start with a valid gzip header ' if the compressed stream is corrupted + if the compressed stream ends permaturely )Note that the decompression is performed lazily. Errors in the data stream J may not be detected until the end of the stream is demanded (since it is E only at the end that the final checksum can be checked). If this is H important to you, you must make sure to consume the whole decompressed 7 stream before doing any IO action that depends on it. $0Compress a stream of data into the gzip format. KThis uses the default compression level which favours a higher compression # ratio over compression speed. Use % to adjust the compression  level. %Like $8 but with an extra parameter to specify the compression  level. IThere are a number of additional compression parameters which are rarely < necessary to change but if you need to you can do so using . #$% $%  ##$%h       !" !" !"#$%&'())*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdzlib-0.4Codec.Compression.Zlib.InternalCodec.Compression.Zlib.RawCodec.Compression.ZlibCodec.Compression.GZipCodec.Compression.Zlib.StreamCompressionStrategy HuffmanOnlyFilteredDefaultStrategy MemoryLevelMaxMemoryLevelMinMemoryLevelDefaultMemoryLevel WindowBitsDefaultWindowBitsCompressionLevelBestCompression BestSpeed NoCompressionDefaultCompressionMethodDeflatedFormat GZipOrZlibRawZlibGZipcompressDefaultdecompressDefault compressFulldecompressFull decompresscompress compressWith c_deflateEnd c_deflatec_deflateInit2 c_inflateEnd c_inflatec_inflateInit2 StreamStateFlushFinish FullFlush SyncFlushNoFlushStatus BufferErrorinflateNeedDict StreamEndOkStreamZunZpushInputBufferinputBufferEmptypushOutputBufferpopOutputBufferoutputBufferBytesAvailableoutputBufferSpaceRemainingoutputBufferFulldeflatereturnZthenZthenZ_failZrun unsafeLiftIOunsafeInterleavegetStreamStategetInBuf getOutBuf getOutOffset getOutAvailsetInBuf setOutBuf setOutOffset setOutAvailtracedumpconsistencyCheck isFatalError throwError windowBits withStreamPtr setInAvail getInAvail setInNext getInNext setOutFree getOutFree setOutNext getOutNext inflateInit deflateInitinflate_deflate_finalise