载入中...
搜索中...
未找到
CompressedData.cpp
浏览该文件的文档.
9CompressedData::CompressedData(std::string format, char *cdata, size_t compressedsize, size_t rawsize, bool own)
Stores byte data compressed via DataModule::compress.
Definition CompressedData.h:14
CompressedData * clone() const override
Deep copy. @ownership Caller deletes.
Definition CompressedData.cpp:37
CompressedData(std::string format, char *cdata, size_t compressedsize, size_t rawsize, bool own=true)
Constructor just stores already-compressed data in the object.
Definition CompressedData.cpp:9
size_t getDecompressedSize() const
Gets the original (uncompressed) size of the compressed data. May return 0 if the uncompressed size i...
Definition CompressedData.cpp:41
std::string getFormat() const
Gets the format that was used to compress the data.
Definition CompressedData.cpp:39