from panda3d.core import IDecompressStream
class IDecompressStream


Bases: istream

An input stream object that uses zlib to decompress (inflate) the input from another source stream on-the-fly.

Attach an IDecompressStream to an existing istream that provides compressed data, and read the corresponding uncompressed data from the IDecompressStream.

Seeking is not supported.

Inheritance diagram

Inheritance diagram of IDecompressStream

__init__(source: istream, owns_source: bool)
close() IDecompressStream

Resets the ZStream to empty, but does not actually close the source istream unless owns_source was true.

open(source: istream, owns_source: bool) IDecompressStream