tango.io.stream.Zlib

Members

Classes

ZlibClosedException
class ZlibClosedException

This exception is thrown if you attempt to perform a read, write or flush operation on a closed zlib filter stream. This can occur if the input stream has finished, or an output stream was flushed.

ZlibException
class ZlibException

This exception is thrown when an error occurs in the underlying zlib library. Where possible, it will indicate both the name of the error, and any textural message zlib has provided.

ZlibInput
class ZlibInput

This input filter can be used to perform decompression of zlib streams.

ZlibOutput
class ZlibOutput

This output filter can be used to perform compression of data into a zlib stream.

ZlibStillOpenException
class ZlibStillOpenException

This exception is thrown if you attempt to reset a compression stream that is still open. You must either close or commit a stream before it can be reset.

Functions

check_array
void check_array(const(ubyte)[] as, const(ubyte)[] bs, const(char)[] msg)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

License

BSD style: $(LICENSE)

Version

Feb 08: Added support for different stream encodings, removed old "window bits" ctors.
Dec 07: Added support for "window bits", needed for Zip support.
Jul 07: Initial release.

Authors

Daniel Keep