IDecompressStream

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__(*args, **kwargs)
close()

C++ Interface: close(const IDecompressStream self)

/**
  • Resets the ZStream to empty, but does not actually close the source istream

  • unless owns_source was true.

*/

open()

C++ Interface: open(const IDecompressStream self, istream source, bool owns_source, int source_length, bool header)

/**

*/