29class EXPCL_PANDA_DOWNLOADER Decompressor {
34 int initiate(
const Filename &source_file);
35 int initiate(
const Filename &source_file,
const Filename &dest_file);
38 bool decompress(
const Filename &source_file);
39 bool decompress(Ramfile &source_and_dest_file);
41 PN_stdfloat get_progress()
const;
44 MAKE_PROPERTY(progress, get_progress);
49 Filename _source_filename;
51 std::istream *_source;
52 std::istream *_decompress;
55 size_t _source_length;
An in-memory buffer specifically designed for downloading files to memory.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.