Up: ZLib.RawDeflateStream   [Index]


7.7.1 ZLib.RawDeflateStream class: instance creation

compressingTo: aStream

Answer a stream that receives data via #nextPut: and compresses it onto aStream.

compressingTo: aStream level: level

Answer a stream that receives data via #nextPut: and compresses it onto aStream with the given compression level.

on: aStream

Answer a stream that compresses the data in aStream with the default compression level.

on: aStream level: compressionLevel

Answer a stream that compresses the data in aStream with the given compression level.