Back: ZLib.ZlibReadStream-streaming Up: ZLib package Forward: ZLib.ZlibStream class-accessing   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

7.12 ZLib.ZlibStream

Defined in namespace ZLib
Superclass: Stream
Category: Examples-Useful
This abstract class implements the basic interface to the zlib module. Its layout matches what is expected by the C code.

7.12.1 ZLib.ZlibStream class: accessing  (class)
7.12.2 ZLib.ZlibStream class: instance creation  (class)
7.12.3 ZLib.ZlibStream: streaming  (instance)


7.12.1 ZLib.ZlibStream class: accessing

bufferSize
Answer the size of the output buffers that are passed to zlib. Each zlib stream uses a buffer of this size.

bufferSize: anInteger
Set the size of the output buffers that are passed to zlib. Each zlib stream uses a buffer of this size.

defaultCompressionLevel
Return the default compression level used by deflating streams.

defaultCompressionLevel: anInteger
Set the default compression level used by deflating streams. It should be a number between 1 and 9.


7.12.2 ZLib.ZlibStream class: instance creation

new
This method should not be called for instances of this class.

on: aStream
Answer an instance of the receiver that decorates aStream.


7.12.3 ZLib.ZlibStream: streaming

isExternalStream
Answer whether the receiver streams on a file or socket.

name
Return the name of the underlying stream.

species
Return the type of the collections returned by #upTo: etc.

stream
Answer the wrapped stream.



Back: ZLib.ZlibStream class-instance creation Up: ZLib.ZlibStream Forward: ZLib.ZlibWriteStream   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on May, 22 2008 using texi2html