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__() → None
__init__(source: istream, owns_source: bool) → None
close() → IDecompressStream

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

Return type


open(source: istream, owns_source: bool) → IDecompressStream
Return type