IDecompressStream

from panda3d.core import IDecompressStream
class IDecompressStream

Bases:

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__()
__init__(source: istream, owns_source: bool, source_length: int, header: 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, source_length: int, header: bool) IDecompressStream