Decompressor
from panda3d.core import Decompressor
- class Decompressor
Bases:
This manages run-time decompression of a zlib-compressed stream, as a background or foreground task.
Inheritance diagram
- __init__()
- __init__(param0: Decompressor)
- decompress(source_file: Filename) bool
Performs a foreground decompression of the named file; does not return until the decompression is complete.
- decompress(source_and_dest_file: Ramfile) bool
Does an in-memory decompression of the indicated Ramfile. The decompressed contents are written back into the same Ramfile on completion.
- initiate(source_file: Filename) int
Begins a background decompression of the named file (whose filename must end in “.pz”) to a new file without the .pz extension. The source file is removed after successful completion.